+2 votes
in Databases by (71.8k points)
I installed mysql on my ubuntu 14.04 machine. How can I login to mysql to create database and tables?

1 Answer

+1 vote
by (71.8k points)
selected by
 
Best answer

Though MySQL should be running on your machine, type the following command on terminal to access mysql.

1. sudo service mysql start : It will start the mysql server.

2. mysql -u root -p : It will ask for password. Enter your password to get access to mysql.

Related questions


...