Home > Database > Mysql Tutorial > aix重启mysql时遇到的问题_MySQL

aix重启mysql时遇到的问题_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:34:56
Original
968 people have browsed it

bitsCN.com

aix重启mysql时遇到的问题

 

aix 重启mysql时遇到问题:

 

error: 'Access denied for user 'root'@'localhost' (using password: YES)'

这个错误是关闭mysql时使用下面的命令产生的:

 

./mysqladmin -u root -p shutdown

 

原因是输入的密码错误;

 

然后是启动mysql,由于使用root账号,启动mysql要使用./mysqld_safe 命令,不然会出现下面的错误:

 

Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!

 

使用命令如下:

 

./mysqld_safe --user=root

 

但是还是出现了下面的错误:

 

there is not enough spase ...

 

aix机就是这样,老是显示空间不够,如何查看空间呢?

 

df -k

 

查看到的结果却是是使用100%,增加空间;

 

chfs -a size=+5G /usr

 

给/usr增加5G的空间,然后使用

 

./mysqld_safe --user=root

 

出现mysqld deaman 。。。,说明正在启动,然后使用

 

ps -ef |grep mysql

 

查看是否有mysql进程运行,即可。

bitsCN.com
Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
PHP parsing error: syntax error, unexpected '
From 1970-01-01 08:00:00
0
0
0
Report an error
From 1970-01-01 08:00:00
0
0
0
Error when uploading file format error
From 1970-01-01 08:00:00
0
0
0
html5 - EventSource error
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template