+2 votes
in Databases by (20.3k 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 (20.3k 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.

Related questions