Solaris下安裝mysql常見問題

mysql安裝做的有點傻逼,當你解壓完後要執行./scripts/mysql_install_db --user=mysql才能進行安裝,而且安裝時一定要在mysql解壓後的目錄下,否則會報FATAL ERROR: Could not find ./bin/my_print_defaults,鬱悶,它爲什麼就不會自動進行查找呢,安裝完後還有如下提示:To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system,我真是服了,沒辦法,按照說明做吧,否則直接啓動mysqld啓動不起來。

安裝完後還有如下的提示,都你如何去修改密碼去:
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:

./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h opensolaris password 'new-password'

Alternatively you can run:
./bin/mysql_secure_installation
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章