Mysql 5.5 数据库启动关闭命令
发表于:2025-01-24 作者:千家信息网编辑
千家信息网最后更新 2025年01月24日,启动MySQL服务./bin/mysqld_safe --defaults-file=/etc/my.cnf &[1] 21698[root@localhost bin]# 160402 05:57:
千家信息网最后更新 2025年01月24日Mysql 5.5 数据库启动关闭命令启动MySQL服务
./bin/mysqld_safe --defaults-file=/etc/my.cnf &
[1] 21698
[root@localhost bin]# 160402 05:57:36 mysqld_safe Logging to '/log/err.log'.
160402 05:57:36 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
error日志中的记录如下:
160402 05:57:36 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160402 5:57:36 [Note] /data/bin/mysqld (mysqld 5.5.48-log) starting as process 22108 ...
160402 5:57:36 InnoDB: The InnoDB memory heap is disabled
160402 5:57:36 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160402 5:57:36 InnoDB: Compressed tables use zlib 1.2.3
160402 5:57:36 InnoDB: Using Linux native AIO
160402 5:57:36 InnoDB: Initializing buffer pool, size = 100.0M
160402 5:57:36 InnoDB: Completed initialization of buffer pool
160402 5:57:36 InnoDB: highest supported file format is Barracuda.
160402 5:57:37 InnoDB: Waiting for the background threads to start
160402 5:57:38 InnoDB: 5.5.48 started; log sequence number 1595675
160402 5:57:38 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
160402 5:57:38 [Note] - '0.0.0.0' resolves to '0.0.0.0';
160402 5:57:38 [Note] Server socket created on IP: '0.0.0.0'.
160402 5:57:38 [Note] Event Scheduler: Loaded 0 events
160402 5:57:38 [Note] /data/bin/mysqld: ready for connections.
Version: '5.5.48-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 production environment
关闭MySQL服务
./bin/mysqladmin -u root -p shutdown
Enter password:
160402 05:56:10 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
[1]+ Done ./mysqld_safe --defaults-file=/etc/my.cnf
error日志中的记录如下:
160402 5:56:09 [Note] /data/bin/mysqld: Normal shutdown
160402 5:56:09 [Note] Event Scheduler: Purging the queue. 0 events
160402 5:56:09 InnoDB: Starting shutdown...
160402 5:56:10 InnoDB: Shutdown completed; log sequence number 1595675
160402 5:56:10 [Note] /data/bin/mysqld: Shutdown complete
160402 05:56:10 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
./bin/mysqld_safe --defaults-file=/etc/my.cnf &
[1] 21698
[root@localhost bin]# 160402 05:57:36 mysqld_safe Logging to '/log/err.log'.
160402 05:57:36 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
error日志中的记录如下:
160402 05:57:36 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160402 5:57:36 [Note] /data/bin/mysqld (mysqld 5.5.48-log) starting as process 22108 ...
160402 5:57:36 InnoDB: The InnoDB memory heap is disabled
160402 5:57:36 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160402 5:57:36 InnoDB: Compressed tables use zlib 1.2.3
160402 5:57:36 InnoDB: Using Linux native AIO
160402 5:57:36 InnoDB: Initializing buffer pool, size = 100.0M
160402 5:57:36 InnoDB: Completed initialization of buffer pool
160402 5:57:36 InnoDB: highest supported file format is Barracuda.
160402 5:57:37 InnoDB: Waiting for the background threads to start
160402 5:57:38 InnoDB: 5.5.48 started; log sequence number 1595675
160402 5:57:38 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
160402 5:57:38 [Note] - '0.0.0.0' resolves to '0.0.0.0';
160402 5:57:38 [Note] Server socket created on IP: '0.0.0.0'.
160402 5:57:38 [Note] Event Scheduler: Loaded 0 events
160402 5:57:38 [Note] /data/bin/mysqld: ready for connections.
Version: '5.5.48-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 production environment
关闭MySQL服务
./bin/mysqladmin -u root -p shutdown
Enter password:
160402 05:56:10 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
[1]+ Done ./mysqld_safe --defaults-file=/etc/my.cnf
error日志中的记录如下:
160402 5:56:09 [Note] /data/bin/mysqld: Normal shutdown
160402 5:56:09 [Note] Event Scheduler: Purging the queue. 0 events
160402 5:56:09 InnoDB: Starting shutdown...
160402 5:56:10 InnoDB: Shutdown completed; log sequence number 1595675
160402 5:56:10 [Note] /data/bin/mysqld: Shutdown complete
160402 05:56:10 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
日志
服务
命令
数据
数据库
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
计算机网络技术与运用pdf
我的世界自动钓鱼服务器
网络安全和信息化 发改
企业研发网络安全技术案例
用户注册校验数据库
南通软件开发公司
产业互联网金融科技和云计算
达梦数据库修改ulimit参数
软件开发合同范本技术要求
晨迈网络技术有限公司招聘
导出数据库用哪个软件
服务器显存不够怎么共享内存
怎么理解部队网络安全
如何维护网络安全2000字
阿里巴巴数据库知识
深圳网络安全哪个部门管理
互联网大会 金融科技
公安网络安全教育平台登录
服务器后台框架
档案员网络安全
网络安全加快信息化建设
天津挑选软件开发试验设备
后台数据库之间有关系吗
服务器里面怎么添加系统
3dmax数据库管理
越南服务器硬件市场
美国网络安全战略第六讲实践案例
北京缀新网络技术
win8没有代理服务器
魔兽世界玩那个服务器