2016年3月19日 星期六

[MySQL] 如何登入Ubuntu MySQL client.


MySQL server will be started automatically after the installation. You CANNOT start another instance! To check the mysqld process:

$ ps aux | grep mysqld
mysql     1113  0.0  0.3 484432 50024 ?        Ssl  18:33   0:08 /usr/sbin/mysqld

To start a MySQL client:

$ mysql -u root -p
   // Enter the password for the root user you have set when you install the server.

Once you loging your client, you can start CREATE DATABASE xxxx , and use others SQL commadn.

沒有留言:

張貼留言