mysql错误日志,求帮忙。我不知道什么找不到。

Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\b_dingb>D:\
'D:\' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

C:\Users\b_dingb>D:

D:>cd
D:\

D:>cd mysql-5.6.14-win32

D:\mysql-5.6.14-win32>bin
'bin' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

D:\mysql-5.6.14-win32>cd bin

D:\mysql-5.6.14-win32\bin>mysqld.exe --console
2016-07-26 10:24:18 0 [Warning] TIMESTAMP with implicit DEFAULT value is depreca
ted. Please use --explicit_defaults_for_timestamp server option (see documentati
on for more details).
2016-07-26 10:24:18 2132 [Note] Plugin 'FEDERATED' is disabled.
2016-07-26 10:24:18 2132 [Note] InnoDB: The InnoDB memory heap is disabled
2016-07-26 10:24:18 2132 [Note] InnoDB: Mutexes and rw_locks use Windows interlo
cked functions
2016-07-26 10:24:18 2132 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-07-26 10:24:18 2132 [Note] InnoDB: Not using CPU crc32 instructions
2016-07-26 10:24:18 2132 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2016-07-26 10:24:18 2132 [Note] InnoDB: Completed initialization of buffer pool
2016-07-26 10:24:18 2132 [Note] InnoDB: Highest supported file format is Barracu
da.
2016-07-26 10:24:19 2132 [Note] InnoDB: 128 rollback segment(s) are active.
2016-07-26 10:24:19 2132 [Note] InnoDB: Waiting for purge to start
2016-07-26 10:24:19 2132 [Note] InnoDB: 5.6.14 started; log sequence number 1625
977
2016-07-26 10:24:19 2132 [Warning] No existing UUID has been found, so we assume
that this is the first time that this server has been started. Generating a new
UUID: 0e8c77c9-52d8-11e6-af11-d4bed99146e8.
2016-07-26 10:24:19 2132 [Note] Server hostname (bind-address): '*'; port: 3306
2016-07-26 10:24:19 2132 [Note] IPv6 is available.
2016-07-26 10:24:19 2132 [Note] - '::' resolves to '::';
2016-07-26 10:24:19 2132 [Note] Server socket created on IP: '::'.
2016-07-26 10:24:26 2132 [Note] Event Scheduler: Loaded 0 events
2016-07-26 10:24:26 2132 [Note] mysqld.exe: ready for connections.
Version: '5.6.14' socket: '' port: 3306 MySQL Community Server (GPL)

1个回答

是不是启动就便成了

 Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

我的mysql也这样,而且经常,我真是日了狗,导致我的wordpress经常不能访问。最后只能把mysql卸载重装,博主如果找到了解决方法,可以回复给我,谢谢。

 a. sudo apt-get autoremove --purge mysql-server-5.0
b. sudo apt-get remove mysql-server
c. sudo apt-get autoremove mysql-server
d. sudo apt-get remove mysql-common (非常重要)

a. sudo apt-get install mysql-server
b. sudo apt-get install mysql-client
c. sudo apt-get install php5-mysql(安装php5-mysql是将php和mysql连接起来 )
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问