1.   1. 下载server和client rpm包 wget https://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-server-5.6.35-1.el7.x86_64.rpm wget https://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-client-5.6.35-1.el7.x86_64.rpm wget https://dev.mysq ...

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

    阅读全文
  3. 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 ...

    阅读全文
  4. 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、 ...

    阅读全文
  5. 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 ...

    阅读全文
  6. connect by的使用来用解决树形结构的表查询。可以向上根节点查询,也可以下叶子节点查询。 最简单的语法如下: //从给定的pid开始向下查询,直到叶子节点 select * from table start with pid=:bindingPID connect by prior pid=id //从给的的id开始向上查询,直到根节点 select * from table start with id=:bindingPID connect by prior id= ...

    阅读全文
  7. 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 ...

    阅读全文
  8. 如何设置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'; +----- ...

    阅读全文
  9. 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 ...

    阅读全文
  10. 如何invoking a SOAP service from PLSQL? the call is timing out within 60 seconds no matter what the timeout value we set using set_transfer_timeout method, we are getting the following error.   "Error Occurred. Message: ORA-29273: HT ...

    阅读全文
1234