1. 刚装的mysql启动后用了不久后发现连接不上了。 进入server发现原先存在的mysql.socket丢失了。 什么原因? 重启server后这个mysql.socket又重新创建了。 但是有了一阵子又丢了。有空研究一下什么问题。 查看了error日志看到一些error信息。 [ERROR] InnoDB: Cannot allocate memory for the buffer pool [ERROR] Plugin 'InnoDB' ...

    阅读全文
  2. mysql的err日志中的信息中有一堆类似warning 2017-04-04 16:55:05 2082 [Warning] IP address '117.44.24.236' could not be resolved: Name or service not known 2017-04-04 18:30:30 2082 [Warning] IP address '111.121.193.254' could not be resolved: N ...

    阅读全文
  3. mysql_connect报告”No such file or directory”错误的解决方法。调试后确认host,username,password都是正确的。但myssql_connect还是连接不上。 原因一般都是mysql.socket找不到的问题。 解决方法: 1、写个phpinfo页面,找到mysql.default_socket、mysqli.default_socket、pdo_mysql.default_socket。 2、 ...

    阅读全文
  4. linux下mysql启动的方法有几种(windows和mac下启动比较方便): mysqld — The MySQL Server mysqld_safe — MySQL Server Startup Script mysql.server — MySQL Server Startup Script mysqld_multi — Manage Multiple MySQL Servers 当然还有通过service来起mys ...

    阅读全文
  5. Mysql Server挂掉了,重启总是失败,异常提示: Starting MySQL.The server quit without updating PID file (/[FAILED]l/mysql/data/VM_1232.pid). 查看日志文件后发现有这么一段[ERROR]。 [ERROR]InnoDB: Cannot allocate memory for the buffer pool. 先不说这段ERROR,这段error只是说明了为什么mys ...

    阅读全文
  6. 如何设置mysql参数之innodb_buffer_pool_size大小? 转自http://blog.itpub.net/10972173/viewspace-1780814/ 这篇文章讲的很不错。转载在此以供学习。 该参数定义了数据缓冲区buffer pool大小,类似于oracle的db_cache_size mysql> show global variables like 'innodb_buffer_pool_size'; +----- ...

    阅读全文
  7. update TEST_NOIDX set CREATETIME=now() where ID in ( select a.ID from TEST_NOIDX a where a.VNAME='Aa'); ERROR 1093 (HY000): You can't specify target table 'TEST_NOIDX' for update in FROM clause update TEST_NOI ...

    阅读全文
  8. 27090

    http://www.artfulsoftware.com/mysqlbook/sampler/mysqled1ch20.html https://www.jianshu.com/p/6881b9ec1759 ...

    阅读全文
  9. 1440

    问题描述: 在导入数据库脚本时出现如下错误: ERROR 1418 (HY000) at line 5061: This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators ...

    阅读全文
123