4
|
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:
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:
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:
You can edit the /etc/mysql/my.cnf file to configure the basic settings -- log file, port number, etc.
|
2014년 1월 28일 화요일
피드 구독하기:
댓글 (Atom)
댓글 없음:
댓글 쓰기