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

+2 votes
1 answer
+3 votes
1 answer
+1 vote
1 answer
asked Mar 10, 2025 in Databases by aprasad (17.2k points)

...