安装mysql错误归档处理

安装mysql错误归档处理

ID:22816364

大小:63.00 KB

页数:7页

时间:2018-10-31

安装mysql错误归档处理_第1页
安装mysql错误归档处理_第2页
安装mysql错误归档处理_第3页
安装mysql错误归档处理_第4页
安装mysql错误归档处理_第5页
资源描述:

《安装mysql错误归档处理》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、安装MySQL错误归档处理>>教育资源库  今天我升级MYSQL到5.1的时候遇到的。写出来共享以下。  1、  [rootlocalhostmysql]#scripts/mysql_install_db  Neitherhost'localhost.localdomain'nor'localhost'couldbelookedupe'mandtoreturnacorrect  hostname.  Ifyouainlocalhost>>/etc/hosts  然后再初始化数据,如果还是

2、同样的错误,那就直接加--force开关。  我今天碰到的就是这个情况。  [rootlocalhostmysql]#scripts/mysql_install_db--force  InstallingMySQLsystemtables...  OK  Fillinghelptables...  OK  Tostartmysqldatboottimeyouhavetocopy  support-files/mysql.servertotherightplaceforyoursystem  PLEASEREMEMBERTOSETAPASS

3、ySQLrootUSER!  Todoso,starttheserver,thenissuethefolloands:  /usr/local/mysql//bin/mysqladmin-urootpassysql//bin/mysqladmin-uroot-hlocalhost.localdomainpassanualformoreinstructions.  YoucanstarttheMySQLdaemonysql//bin/mysqld_safe  YoucantesttheMySQLdaemonysql-test-run.pl 

4、 cdmysql-test;perlmysql-test-run.pl  Pleasereportanyproblemsysqlbugscript!  ThelatestinformationaboutMySQLisavailableontheysql.  SupportMySQLbybuyingsupport/licensesatshop.mysql.  这样就成功初始化数据了。  2、编码文件链接丢失。[rootlocalhostmysql]#scripts/mysql_install_db--forceInstallingMySQL

5、systemtables...07112913:38:08[ERROR]Can'tfindmessagefile'/usr/local/mysql/share/english/errmsg.sys'07112913:38:08[ERROR]Aborting07112913:38:08[Note]Installationofsystemtablesfailed!Examinethelogsin/usr/local/mysql/data/formoreinformation.Youcantrytostartthemys

6、qlddaemonysql//bin/mysqld--skip-grantandusethemandlinetool/usr/local/mysql//bin/mysqltoconnecttothemysqldatabaseandlookatthegranttables:shell>/usr/local/mysql//bin/mysql-urootmysqlmysql>shoysqld--help'ifyouhaveproblemsysql/data/thatmaybehelpful.Thelatestinformat

7、ionaboutMySQLisavailableontheysql.PleaseconsulttheMySQLmanualsection:'Problemsrunningmysql_install_db',andthemanualsectionthatdescribesproblemsonyour12下一页>>>>这篇文章来自..,。OS.AnotherinformationsourceistheMySQLemailarchive.Pleasecheckalloftheabovebeforemailingus!Andify

8、oudomailus,youMUSTusethe./bin/mysqlbugscript!  解决:  今天发现MYSQL官方5.1.22对这个BUG进行了修正。  mysql_install

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。