1836951 Members
2188 Online
110112 Solutions
New Discussion

Re: mysql

 
j773303
Super Advisor

mysql

How to set the mysql account?
Is it mysql -u root -p 123456? Thanks.
Hero
1 REPLY 1
Elmar P. Kolkman
Honored Contributor

Re: mysql

The command you give will log in using the username root and password 123456 (might need to remove the space between the 'p' and the '1'). Mind that this might be visible to other users on the system. Better solution might be to use a .my.cnf file in your homedirectory.
Every problem has at least one solution. Only some solutions are harder to find.