Saturday, February 24, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 4689  / 2 Years ago, sun, november 28, 2021, 12:18:44

To my downloads directory, I have unpacked the MySQL-server-5.6.11-2.linux_glibc2.5.i386.rpm. There is now a /usr directory with /bin, /lib, /sbin, and /share within the /usr. There is also a /etc directory with /init.d and /logrotate.d directories within the /etc.




  • Do I disperse these directories/files in the appropriate "/" root directory location(s)?

  • Where can I find clear steps on how to install MySQL on Ubuntu? (I have version 13.04)



From the MySQL site, it seemed easier to do this for Windows since they are able to use the MySQL Installer.


More From » installation

 Answers
0

Installation



To install MySQL, run the following command from a terminal prompt:



sudo apt-get install mysql-server 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:mysql : LISTEN
2556/mysqld




If the server is not running correctly, you can type the following command to start it:



sudo service mysql restart


More info HERE


[#31012] Monday, November 29, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
atetamme

Total Points: 11
Total Questions: 121
Total Answers: 109

Location: Puerto Rico
Member since Sun, Jun 27, 2021
3 Years ago
;