There is a way to login mysql by entering without password often
from your root directory
#vi .my.cnf
[client]
user=root // db username
password=password //db password
then save the file
Now you can enter your database without asking any password like
#mysql
mysql>quit
from your root directory
#vi .my.cnf
[client]
user=root // db username
password=password //db password
then save the file
Now you can enter your database without asking any password like
#mysql
mysql>quit
0 Comments