命令启动MySQL就会报错
[root@CentOS ~]# amh mysql start
=============================================================
[Linux] AMH 7.0
http://amh.sh
[mysql start]
=============================================================
=============================================================
[Linux] AMH 7.0
http://amh.sh
[mysql-generic-5.5 start]
=============================================================
mysql-generic-5.5
[OK] mysql-generic-5.5 is already installed.
Starting MySQL... ERROR! The server quit without updating PID file (/home/usrdata/mysql-generic-5.5/mysql.pid).
230526 18:03:17 [Note] Plugin 'InnoDB' is disabled.
230526 18:03:17 [Note] Event Scheduler: Loaded 0 events
230526 18:03:17 [Note] /usr/local/mysql-generic-5.5/bin/mysqld: ready for connections.
Version: '5.5.62-log' socket: '/tmp/mysql-generic-5.5.sock' port: 0 Source distribution
230526 18:13:25 [Note] /usr/local/mysql-generic-5.5/bin/mysqld: Normal shutdown
230526 18:13:25 [Note] Event Scheduler: Purging the queue. 0 events
230526 18:13:27 [Warning] /usr/local/mysql-generic-5.5/bin/mysqld: Forcing close of thread 861 user: 'root'
230526 18:13:27 [Warning] /usr/local/mysql-generic-5.5/bin/mysqld: Forcing close of thread 860 user: 'root'
230526 18:13:27 [Warning] /usr/local/mysql-generic-5.5/bin/mysqld: Forcing close of thread 859 user: 'root'
230526 18:13:27 [Warning] /usr/local/mysql-generic-5.5/bin/mysqld: Forcing close of thread 858 user: 'root'
230526 18:13:27 [Warning] /usr/local/mysql-generic-5.5/bin/mysqld: Forcing close of thread 857 user: 'root'
230526 18:13:27 [Note] /usr/local/mysql-generic-5.5/bin/mysqld: Shutdown complete
230526 18:13:28 InnoDB: The InnoDB memory heap is disabled
230526 18:13:28 InnoDB: Mutexes and rw_locks use GCC atomic builtins
230526 18:13:28 InnoDB: Compressed tables use zlib 1.2.11
230526 18:13:28 InnoDB: Initializing buffer pool, size = 128.0M
230526 18:13:28 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
230526 18:13:28 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
230526 18:13:28 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...
230526 18:13:28 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: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
230526 18:13:29 InnoDB: Waiting for the background threads to start
230526 18:13:30 InnoDB: 5.5.62 started; log sequence number 0
230526 18:13:30 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
230526 18:13:30 [Note] - '0.0.0.0' resolves to '0.0.0.0';
230526 18:13:30 [Note] Server socket created on IP: '0.0.0.0'.
230526 18:13:30 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
230526 18:13:30 [ERROR] Do you already have another mysqld server running on port: 3306 ?
230526 18:13:30 [ERROR] Aborting
230526 18:13:30 InnoDB: Starting shutdown...
230526 18:13:31 InnoDB: Shutdown completed; log sequence number 1595675
230526 18:13:31 [Note] /usr/local/mysql-generic-5.5/bin/mysqld: Shutdown complete
230526 18:13:48 InnoDB: The InnoDB memory heap is disabled
230526 18:13:48 InnoDB: Mutexes and rw_locks use GCC atomic builtins
230526 18:13:48 InnoDB: Compressed tables use zlib 1.2.11
230526 18:13:48 InnoDB: Initializing buffer pool, size = 128.0M
230526 18:13:48 InnoDB: Completed initialization of buffer pool
230526 18:13:48 InnoDB: highest supported file format is Barracuda.
230526 18:13:48 InnoDB: Waiting for the background threads to start
230526 18:13:49 InnoDB: 5.5.62 started; log sequence number 1595675
230526 18:13:49 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
230526 18:13:49 [Note] - '0.0.0.0' resolves to '0.0.0.0';
230526 18:13:49 [Note] Server socket created on IP: '0.0.0.0'.
230526 18:13:49 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
230526 18:13:49 [ERROR] Do you already have another mysqld server running on port: 3306 ?
230526 18:13:49 [ERROR] Aborting
230526 18:13:49 InnoDB: Starting shutdown...
230526 18:13:50 InnoDB: Shutdown completed; log sequence number 1595675
230526 18:13:50 [Note] /usr/local/mysql-generic-5.5/bin/mysqld: Shutdown complete
230527 8:57:31 InnoDB: The InnoDB memory heap is disabled
230527 8:57:31 InnoDB: Mutexes and rw_locks use GCC atomic builtins
230527 8:57:31 InnoDB: Compressed tables use zlib 1.2.11
230527 8:57:31 InnoDB: Initializing buffer pool, size = 128.0M
230527 8:57:31 InnoDB: Completed initialization of buffer pool
230527 8:57:31 InnoDB: highest supported file format is Barracuda.
230527 8:57:31 InnoDB: Waiting for the background threads to start
230527 8:57:32 InnoDB: 5.5.62 started; log sequence number 1595675
230527 8:57:32 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
230527 8:57:32 [Note] - '0.0.0.0' resolves to '0.0.0.0';
230527 8:57:32 [Note] Server socket created on IP: '0.0.0.0'.
230527 8:57:32 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
230527 8:57:32 [ERROR] Do you already have another mysqld server running on port: 3306 ?
230527 8:57:32 [ERROR] Aborting
230527 8:57:32 InnoDB: Starting shutdown...
230527 8:57:33 InnoDB: Shutdown completed; log sequence number 1595675
230527 8:57:33 [Note] /usr/local/mysql-generic-5.5/bin/mysqld: Shutdown complete
230527 9:18:54 InnoDB: The InnoDB memory heap is disabled
230527 9:18:54 InnoDB: Mutexes and rw_locks use GCC atomic builtins
230527 9:18:54 InnoDB: Compressed tables use zlib 1.2.11
230527 9:18:54 InnoDB: Initializing buffer pool, size = 128.0M
230527 9:18:54 InnoDB: Completed initialization of buffer pool
230527 9:18:54 InnoDB: highest supported file format is Barracuda.
230527 9:18:54 InnoDB: Waiting for the background threads to start
230527 9:18:55 InnoDB: 5.5.62 started; log sequence number 1595675
230527 9:18:55 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
230527 9:18:55 [Note] - '0.0.0.0' resolves to '0.0.0.0';
230527 9:18:55 [Note] Server socket created on IP: '0.0.0.0'.
230527 9:18:55 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
230527 9:18:55 [ERROR] Do you already have another mysqld server running on port: 3306 ?
230527 9:18:55 [ERROR] Aborting
230527 9:18:55 InnoDB: Starting shutdown...
230527 9:18:55 InnoDB: Shutdown completed; log sequence number 1595675
230527 9:18:55 [Note] /usr/local/mysql-generic-5.5/bin/mysqld: Shutdown complete
230527 9:23:03 InnoDB: The InnoDB memory heap is disabled
230527 9:23:03 InnoDB: Mutexes and rw_locks use GCC atomic builtins
230527 9:23:03 InnoDB: Compressed tables use zlib 1.2.11
230527 9:23:03 InnoDB: Initializing buffer pool, size = 128.0M
230527 9:23:03 InnoDB: Completed initialization of buffer pool
230527 9:23:03 InnoDB: highest supported file format is Barracuda.
230527 9:23:03 InnoDB: Waiting for the background threads to start
230527 9:23:04 InnoDB: 5.5.62 started; log sequence number 1595675
230527 9:23:04 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
230527 9:23:04 [Note] - '0.0.0.0' resolves to '0.0.0.0';
230527 9:23:04 [Note] Server socket created on IP: '0.0.0.0'.
230527 9:23:04 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
230527 9:23:04 [ERROR] Do you already have another mysqld server running on port: 3306 ?
230527 9:23:04 [ERROR] Aborting
230527 9:23:04 InnoDB: Starting shutdown...
230527 9:23:04 InnoDB: Shutdown completed; log sequence number 1595675
230527 9:23:04 [Note] /usr/local/mysql-generic-5.5/bin/mysqld: Shutdown complete
[Error] mysql-generic-5.5 start failed.
亲,报错是端口已经占用。如果有使用多个mysql,并都有开启端口监听的话,要分别用不同端口才行,如一个用3306另一个用3307等,选项旁边也有说明。
你可以停止你当前所有的mysql,单独启动其中一个mysql,再在面板修改mysql端口,
可以使用命令:
amh mysql stop 或
amh mysql-5.6 stop
amh mysql-generic-5.5 start
在使用AJAX时,我需要有人指导我建立函数更新数据库。当我单击Accept按钮时,Ajax请求将发送到服务器,服务器将执行字段post_status的更新值。开始时,字段post_status has的值为“pending”,执行查询更新后,该值将更改为“accepted”。我下一步该怎么办?请帮帮我。非常感谢你的帮助。 Posts表的数据库: 观点: 代码Javascript: 控制器的功能列表
我试图用Burrow来监测Kafka的消费滞后。我可以从HTTPendpoint获得结果,但这只是一段时间。大约一分钟后,我无法得到任何回应从洞穴和端口8000关闭。 我有我的zookeeper安装在同一个主机与kafka实例。这里是我的配置和错误日志。 我的配置有问题吗? 多谢了。
阿里云ubuntu18.04安装AMH,编译到这个进度就卡死了什么原因?怎么办? [ 71%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/item_geofunc_buffer.cc.o
飞猪(暑期实习)3.20 官网投递,面试官感觉很赶,也没有深入问太多,怀疑被kpi了 一面: 1.自我介绍实习经历介绍 对比其他面试官,似乎对我之前在大厂里面的实习经历并不太感兴趣?所这部分也没有深挖 2.业务题:在某月酒店预定数量有所下降,怎么分析 我的思路:在保证数据正确的情况下,首先分析淡季旺季,淡季下降的幅度是否超过正常水平。旺季分析:预定数=总流量*转化,是否是总流量下降,或者由于某些功
我自己写了个 utils 包,里面有一些浏览器和node端使用的方法,用exports指定了不同的入口文件 这个包在用到 umi 的项目时报错了,提示: 该怎么解决呢?