Mega Code Archive

 
Categories / MySQL / User Permission
 

Connect to the server on the local host with a username of myname, asking mysql to prompt you for a password

shell> mysql --host=localhost --password --user=myname