之前啟動MySQL出現的訊息,
好像是沒設定管理者密碼,
我也似乎只會手動來修改,
mysqladmin -u root password 'new-password'
之前是passwd的...

[root@ca95 ~]# service mysqld start
Initializing MySQL database:  Installing MySQL system tables...
OK
Filling help tables...
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h ca95 password 'new-password'

Alternatively you can run:
/usr/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
                                                           [  OK  ]
Starting MySQL:                                            [  OK  ]


==========
Google 翻譯
   
[根@ca95〜 ] #服務啟動mysqld
初始化MySQL資料庫:安裝MySQL系統表...
好的
加油站幫助表...
好的

啟動mysqld在開機時你必須複製
support-files/mysql.server到正確的位置,為您的系統

請記住,設定密碼為MySQL的root使用者!
這樣做,啟動伺服器,然後發出以下命令:
修改/ usr / bin / mysqladmin中美root密碼'新密碼'
修改/ usr / bin / mysqladmin中美根- H的ca95密碼'新密碼'

或者,您也可以執行:
修改/ usr / bin / mysql_secure_installation

這也將讓您的選擇,消除測試
資料庫和匿名使用者預設情況下創建的。這是
強烈推薦用於生產伺服器。

請參閱手冊,為更多的指令。

您就可以開始與MySQL守護進程:
裁談會在/ usr ;修改/ usr / bin / mysqld_safe &

您可以測試MySQL的守護進程與MySQL試驗run.pl
裁談會的MySQL試驗;的Perl MySQL的試驗run.pl

請報告任何問題與修改/ usr / bin / mysqlbug腳本!

最新資料約MySQL可在該公司的網站
http://www.mysql.com
支持MySQL的購買支持/許可在http://shop.mysql.com
             [確定]
啟動MySQL : [確定]

相關文章:mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhos
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 ca95 的頭像
    ca95

    ca95 台灣地誌

    ca95 發表在 痞客邦 留言(0) 人氣()