Install mysql5.6 on CentOS5.5

younghuijun發表於2013-11-23
安裝MySQL備忘錄


1, download MySQL5.6 from Oracle site
MySQL Database 5.6.14 TAR for Generic Linux (glibc2.5) x86 (32bit)
https://edelivery.oracle.com/EPD/Download/process_download/V39993-01.zip?file_id=65261249&aru=16843079&userid=2473519&egroup_aru_number=13259693&country_id=156&patch_file=V39993-01.zip

2, 在解壓目錄有INSTALL-BINARY檔案,按照裡面安裝步驟進行安裝
或者按MySQL installation mannual: http://dev.mysql.com/doc/refman/5.6/en/binary-installation.html

3, 使用perl執行/usr/local/mysql/scripts/mysql_install_db

  1. perl scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql
4, 執行對MySQL密碼,遠端訪問等進行設定
  1. /usr/local/mysql/bin/mysql_secure_installation
5, 
  1. shell> mysql --user=user_name --password=your_password db_name




來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24867427/viewspace-777416/,如需轉載,請註明出處,否則將追究法律責任。

相關文章