![]() Otherwise if its a fresh install, run following: /opt/mysql/server-5. If you are upgrading from mysql, run command mysql_upgrade If you are facing any issue during startup, refer to mysql error log. Its time to start new mysql… service rver start Add a new Terminal module (interactive shell) Add a new setup-repos.sh script to setup Webmin repos Add to replace old Gray Theme with Virtualmin Framed Theme. Its a popular database management system on linux. 1 Preliminary Note 2 Installing MySQL 5 3 Installing Apache2 4 Installing PHP5 5 Testing PHP5 / Getting Details About Your PHP5 Installation 6 Getting MySQL Support In PHP5 7 phpMyAdmin 8 Links Installing Apache2 With PHP5 And MySQL Support On Ubuntu 12.04 LTS (LAMP) Version 1. You may also need to tweak few other settings.įor example: table_cache has been renamed to table_open_cache Start MySQL 5.6 MySQL is a linux based open-source database management system. Should show… /opt/mysql/server-5.6/bin/mysql Update mysql config file vim /etc/mysql/my.cnf basedir = /opt/mysql/server-5.6 ![]() PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games :/opt/mysql/server-5.6/bin" MySQL 5.6 directory layout is different than Lauchpad packages. Update Config & Environment settings Update environment This was my take on how you can install MySQL including how to troubleshoot a secure script and. Note: I am not sure why but renaming mysql 5.6’s startup script from rver to mysql was throwing error. sudo apt-get purge -auto-remove mysql-server mysql-client mysql-common mysql-server-core- mysql-client-core- And if you want to remove the configuration data: sudo rm -rf /etc/mysql /var/lib/mysql. ![]() You will need this only if you are upgrading… cd ~Īt this point your mysql is stopped and you have mysql’s data directory and mysqldump output in ~/backup directory. If all goes well you will not need backups! Remove MySQL 5.5 Packages apt-get remove mysql-common mysql-server-5.5 mysql-server-core-5.5 mysql-client-5.5 mysql-client-core-5.5Īpt-get autoremove Setup MySQL 5.6 Startup Script cp /opt/mysql/server-5.6/support-files/rver /etc/init.d/rver Then install Mysql 5.6.x dpkg -i mysql-5.6.debĪnd install dependency apt-get install libaio1 Backup MySQL 5.5 Data I ran following command to get MySQL 5.6.14 wget -O mysql-5.6.deb (atleast, as of July 10, 2013) Download & Install MySQL 5.6 deb package from official site ![]() I keep hearing good things about MySQL 5.6, so I decided to give it a try, even Ubuntu 12.04 LTS do not have launchpad repo for it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |