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

1 Answer

0 votes
by (11.2k points)

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.

...