mysql password command sql code example Example: how to pass password mysql command line mysql -u user -ppassword password should not have any space with -p