首页
学习
活动
专区
圈层
工具
发布
  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    LAMP安装mysql 时遇到的问题汇总

    /scripts/mysql_install_db --user=mysql --datadir=/data/mysql Installing MySQL system tables... ....loading shared libraries: libaio.so.1:  cannot open shared object file: No such file or directory 解决办法:安装...shared object file: No such file or directory 解决办法:先检查所有所有的 $PATH 目录是否包含libssl*链接库,如果有,可以做软链接改变名字,如果没有,安装...protected] lib]# ln -s libssl.so libssl.so.6 [[email protected] lib]#ln -s libcrypto.so libcrypto.so.6 3:在安装过程中... archive tar: Exiting with failure status due to previous errors 解决办法,找到占用端口的程序,杀掉(比较暴力,也可以换端口,但是初次安装为简单起见

    2.2K60

    MYSQL用法(十九) MySQL中查询时”Lost connection to MySQL server during query”报错的解决方案

    一、问题描述: mysql数据库查询时,遇到下面的报错信息: ? 二、原因分析: dw_user 表数据量比较大,直接查询速度慢,容易"卡死",导致数据库自动连接超时.......三、解决办法: 方案1.在mysql配置文件[myslqd]下面添加一行设置skip-name-resolve.需要重启mysql服务....if( in_array(mysql_errno(), array(2006, 2013))){ mysql_close(); mysql_connect(......'max_allowed_packet' bytes 解决方法: 修改mysql.ini(网上都说是这个文件,找了N久终于知道在哪里了,我的目录是在 D:\MySQL_Data\MySQL Server...5.5 在MySQL_Data文件夹下)文件添加如下代码即可 max_allowed_packet=500M 如果不可以的话就修改D:\MySQL\MySQL Server 5.5\my-huge.ini

    11.7K10
    领券