VPS侦探论坛

 找回密码
 注册
查看: 3487|回复: 5

1.3Beta在下载多余的mariadb-5.5.45.tar.gz

[复制链接]
发表于 2015-11-2 22:32:51 | 显示全部楼层 |阅读模式

我是按默认的来安装mysql的,但发觉在下载mariadb-5.5.45.tar.gz,这个很多余而且浪费时间,麻烦去掉,而且在debian8.2,64位下面的mysql密码是空的
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-11-3 15:14:43 | 显示全部楼层


下载文件都是没判断直接下载的
你说的密码为空这个上传安装日志我看一下,1.3都是双重验证,密码设置不是的概率应该很低
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2015-11-4 00:51:39 | 显示全部楼层

回复 2# 的帖子


已经发admin邮箱

大概在行25266有问题


Starting mysql (via systemctl): mysql.serviceFailed to start mysql.service: Unit mysql.service failed to load: No such file or directory.
failed!
/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
failed, try other way...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Set password failed!
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
FLUSH PRIVILEGES failed!
Restarting mysql (via systemctl): mysql.serviceFailed to restart mysql.service: Unit mysql.service failed to load: No such file or directory.
failed!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-11-4 09:30:05 | 显示全部楼层

回复 3# 的帖子




按日志看mysql未能正常启动,发mysql日志看一下
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2015-11-4 16:42:04 | 显示全部楼层

密码是空,找不到mysql日志文件,但使用tool里面的重置密码是正常的。
估计是安装里在这个环境下mysql启动命令有问题

原帖由 licess 于 2015-11-4 09:30 发表
按日志看mysql未能正常启动,发mysql日志看一下

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2015-11-4 19:40:33 | 显示全部楼层

回复 4# 的帖子


我在include/mysql.sh脚本的第31行加入
systemctl enable mysql.service
systemctl start mysql
/etc/init.d/mysql start
现在正常了,不知道centos有没有问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-28 11:21 , Processed in 0.027177 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表