1.cp /etc/inet/ntp.server /etc/inet/ntp.conf 2.bash-3.00# more /etc/inet/ntp.conf # ident "@(#)ntp.server 1.7 03/01/17 SMI" # # Copyright 1996-2003 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # /etc/inet/ntp.server # # An example file that could be copied over to /etc/inet/ntp.conf and # edited; it provides a configuration template for a server that # li...
by Gavin_Peng - Solaris文档中心 - 2008-01-19 18:25:56 阅读(1068) 回复(0)
Can't connect to (local) MySQL server Connection to MySQL server Failing on Windows When you're running a MySQL server on Windows with many TCP/IP connections to it, and you're experiencing that quite often your clients get a Can't connect to MySQL server error, the reason might be that Windows doesn't allow for enough ephemeral (short-lived) ports to serve those connections. By default, Window...
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) in /usr/local/apache/htdocs/qgweb/include/class_mysql.php on line 22 Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61) 我的mysql起不来了 情况具体: 环境:freebsd5.2+apache2.0.48+mysql4.0.20+php4.3.6 安装完成后,启动运行一切正常。 但当我提供一个站点流量统计服务后,我的Mysql并发数会超过100。 会经常出现too many connections的错误提示。 我将my-huge.cnf拷到/etc/my.cnf,并在mysqld项中加入max_connections=500 用mysqladmin shutdown 命令和...
小弟刚开始学SOLARIS10,目前想把几台测试机通过SOLARIS10的划zone的方式给整和到一台主机上。 由于这些主机都做nfs server的,都share出去一些目录给别的主机挂载。但根据手头的资料,local zone本身是无法share的,而且确实用share命令也得到相同提示。 这个有什么办法解决吗。
http://hi.baidu.com/smashell/blog/item/4502e644982c7081b2b7dc9f.html 原因是目录 的访问权限问题,ubuntu下用下面的命令(其他发行版用管理员权限,把sudo去掉) sudo chown -R mysql:mysql /var/run/mysqld 然后启动服务器 sudo /etc/init.d/mysql start ======================================================================/usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to l...
Can’t connect to local MySQL server through socket 解决办法 启动mysql 报错: ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2) 1、先查看 /etc/rc.d/init.d/mysqld status 看看m y s q l 是否已经启动. 另外看看是不是权限问题. 2、确定你的mysql.sock是不是在那个位置, mysql -u 你的mysql用户名 -p -S /var/lib/mysql/mysql.sock 3、试试:service mysqld st...
求教一下,我的服务器刚还好好的运行,现在突然出现这个问题,请教各位大侠,怎么处理一下啊! Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /var/www/test/opendata.php on line 2 连接数据库失败!!Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
有人可帮我吗,搞了一天了 欢迎使用 phpMyAdmin 2.8.0.4 错误 MySQL 返回: #2002 - 服务器没有响应 (or the local MySQL server's socket is not correctly configured) Open new phpMyAdmin window
执行 mysqlshow 显示 mysqlshow:Can't connect to local Mysql server through socket '/var/lib/mysql/mysql.sock' 是什么原因啊?
如题:启动mysql时出现如下错误,请教高手该如何解决?(附:系统为:RH AS 3,系统自带的mysql) ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)