phpstudy每次重启电脑后MYSQL和PAPCHE就无法启动
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了phpstudy每次重启电脑后MYSQL和PAPCHE就无法启动相关的知识,希望对你有一定的参考价值。
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
111016 9:46:25 InnoDB: Setting file .\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
111016 9:46:25 InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 10 MB
InnoDB: Database physically writes the file full: wait...
111016 9:46:26 InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
111016 9:46:27 InnoDB: Started; log sequence number 0 0
111016 9:46:27 [Note] mysql: ready for connections.
Version: '5.0.91-community-nt' socket: '' port: 3306 MySQL Community Edition (GPL)
111016 14:01:51 [Note] MySQL: Normal shutdown
111016 14:01:51 InnoDB: Starting shutdown...
111016 14:01:53 InnoDB: Shutdown completed; log sequence number 0 43655
111016 14:01:53 [Note] MySQL: Shutdown complete
111016 14:58:44 InnoDB: Started; log sequence number 0 43655
111016 14:58:45 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
111016 15:07:22 InnoDB: Started; log sequence number 0 43655
111016 15:07:22 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
但可以 肯定和MYSQL启动与否无关,
重启即失效 说明有参数没有持久化,
可以把php安装目录写到环境变量中,如:D:\PHP\;D:\PHP\ext;
有90%的把握xujiangdeh希望help you。referenceCSDN,IT实验室,365testing 参考技术C 查看mysql日志里面什么错,贴出来
参考技术D 查看mysql日志里面什么错,贴出来
第5个回答 2011-10-24 你的是端口被别的程序给占用了 改下端口就好了 右键单击计算机~管理~服务与应用程序~服务 然后单机右键 属性 把端口号8080 改成别的数字(如:8088)希望有帮助。xujiangdeh可到365testing,测评网,逛逛
以上是关于phpstudy每次重启电脑后MYSQL和PAPCHE就无法启动的主要内容,如果未能解决你的问题,请参考以下文章