Tuesday, 28 October 2014

Mysql server and Mysql client Installation on Ubuntu 12.04/14.04 Machine

By vm  |  01:58 No comments


First, remove the current version of MySQL you're already using:
$ sudo apt-get purge mysql-client-core-5.5
Now, to install MySQL, run the following command from a terminal prompt:
$ sudo apt-get install mysql-server
$ sudo apt-get install mysql-client
During the installation process you will be prompted to enter a password for the MySQL root user.
Once the installation is complete, the MySQL server should be started automatically. You can run the following command from a terminal prompt to check whether the MySQL server is running:
$sudo netstat -tap | grep mysql
When you run this command, you should see the following line or something similar:
tcp        0      0 localhost.localdomain:mysql           *:* LISTEN -
If the server is not running correctly, you can type the following command to start it:
$ sudo /etc/init.d/mysql restart
You can edit the /etc/mysql/my.cnf file to configure the basic settings: log file, port number, etc.

Author: vm

Hello, I am Author, decode to know more: In commodo magna nisl, ac porta turpis blandit quis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In commodo magna nisl, ac porta turpis blandit quis. Lorem ipsum dolor sit amet.

0 comments:

E-mail Newsletter

Sign up now to receive breaking news and to hear what's new with us.

Recent Articles

© 2014 VOIP4Learn. WP themonic converted by Bloggertheme9. Powered by Blogger.
TOP