linux系统 安装mysql 启动问题
# bin/mysqld_safe --user=mysql&7067
# Starting mysqld daemon with databases from /usr/local/mysql/data
STOPPING server from pid file /usr/local/mysql/data/YN-WEB.pid
111220 12:58:17 mysqld ended
YN_WEB.pid 里面的错误
111220 12:58:12 mysqld started
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
111220 12:58:12 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
111220 12:58:13 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
111220 12:58:14 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 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
111220 12:58:15 InnoDB: Started; log sequence number 0 0
111220 12:58:15 Can't start server: Bind on TCP/IP port: Address already in use
111220 12:58:15 Do you already have another mysqld server running on port: 3306 ?
111220 12:58:15 Aborting
111220 12:58:15 InnoDB: Starting shutdown...
111220 12:58:17 InnoDB: Shutdown completed; log sequence number 0 43655
111220 12:58:17 /usr/local/mysql/bin/mysqld: Shutdown complete
111220 12:58:17 mysqld ended
求助各位大侠 该怎么解决 在公司用了款美~信CreCloud云网管,挺不错的,属于云计算技术理念和IT监控技术的完美结合,云网管的成功开发和应用,使云计算理念在IT监控领域落地,而且还是永久免费。http://www.mxsoft.com 路过此地,!!!! 字面上就是说 3306 被占用了呗~
netstat看一下 111220 12:58:15 Can't start server: Bind on TCP/IP port: Address already in use
端口被占用了。。。。。。。 你到配置文件中去把端口改了 改成别的 像5666 都可以的 随便起 只要目前没有用过的端口就行 ps aux | grep mysql
将这些进程杀死,重启
页:
[1]