just type mysql
For a good tutorial, look there : https://www.digitalocean.com/community/tutorials/a-basic-mysql-tutorial
MariaDB is binary compatible with MySQL. The biggest difference is the licensing.
this is what i get:
root@Edison:~# mysql -u root -p
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
i also tried typing "mysql" same result
i have no idea how to solve this, pls help :c
Take a look at Ubuntu Forums . The user has the same issue as you. The thread suggests that the mysql server is not running. Check if it’s running with ps |grep mysql. The process that runs the mysql server is mysqld.
Read the thread recommended and try the suggestions given, let me know your results.
Apparently 'mysqld' is not running.
Someone in the thread commented this:
Your mysql server is not running!
I don't have my Ubuntu system available at this moment, but I believe if you navigate into the System->Administration pull-down, there is a menu option to control "services" or something to that effect.
From there, you can start the mysql server. Then you should be able to connect (that is, log on).
But i don't know how to do that
Go to /lib/systemd/system and run the command
systemctl start mysqld.service
Then check its status with
systemctl status mysqld.service