表示 进入内容 111120628
« 先前的 10 新的记录 | 下一步 10 较早的记录 »
Displaying posts with tag: CTO (reset)
Ubuntu 修改mysql存放路径后无法启动解决办法

Ubuntu 修改mysql存放路径后无法启动解决办法: # vi /etc/apparmor.d/usr.sbin.mysqld  # /var/lib/mysql/ r, (即注释掉该行) 改为 /home/mysql/ r, # /var/lib/mysql/** rwk, (即注释掉该行) 改为 /home/mysql/** rwk, 更新参数 # /etc/init.

【linux】  【mysql】  【ubuntu】  【cto】  【Blog】  【service】   …

[获取更多]
MySQL 忘记口令的解决办法

  MySQL 忘记口令的解决办法 如果 MySQL 正在运行,首先杀之: killall mysqld。 启动 MySQL :bin/safe_mysqld --skip-grant-tables & 就可以不需要密码就进入 MySQL 了。

【linux】  【mysql】  【update】  【cto】  【Blog】   点击查看原文>

1130-host '192.168.1.4' is not allowed to connect to this MySql server

1130-host '192.168.1.4' is not allowed to connect to this MySql server   解决方法:   如果想允许用户root使用密码123456从任何主机连接到mysql服务器 mysql>grant all privileges on *.

【linux】  【服务器】  【mysql】  【数据库】  【主机】  【BY】  【Server】   …

[获取更多]
XAMPP for MAC 安装后MYSQL不能正常启动的解决办法

可以按照以下方式解决: 1、打开/Applications/XAMPP/xamppfiles/xampp进行编辑 2、找到这一行:$XAMPP_ROOT/bin/mysql.server start > /dev/null & 3、添加如下一行在找到的那一行上面:unset DYLD_LIBRAR...

【mac】  【mysql】  【Server】  【cto】  【Blog】  【unset】   点击查看原文>

icinga+cacti整合

icinga+cacti整合:

http://down.51cto.com/data/558499   (npc)

将icinga下idoutils中mysql.sql中的icinga_改为npc_ $ cd icinga/icinga-1.

【mysql】  【SQL】  【数据库】  【cto】  【service】   点击查看原文>

ERROR 1418 (HY000): This function has none of DETERMINISTIC, NO SQL, or READS

ERROR 1418 (HY000): This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* ...

【linux】  【mysql】  【SQL】  【cto】  【Blog】   点击查看原文>

can't exec "mysql_config":no such file or directory at Makefile.PL line 76

can't exec "mysql_config":no such file or directory at Makefile.PL line 76   解决办法: 将/usr/local/mysql/include/mysql/*复制到/usr/include/, # cp /usr/local...

【linux】  【mysql】  【file】  【cto】  【Blog】  【makefile】   点击查看原文>

unary operator expected

unary operator expected

mysql.sh:line 4:[: ==: unary operator expected

报错脚本语句如下: if [ $Port == "3306" ]; then

解决办法:

if [[ $Port == "3306" ]]; then   究其原因,是因为如果变量Port值为空,那么就成了 [ = "3306"] ,显然 [ 和 "3306" 不相等并且缺少了 [ 符号,所以报了这样的错误。

【linux】  【mysql】  【脚本】  【cto】  【Blog】   点击查看原文>

[获取更多]
linux mysql服务基础操作(二)

本文转自 meteor_hy 51CTO博客,原文链接:http://blog.51cto.com/zuoshou/1575633,如需转载请自行联系原作者

【linux】  【mysql】  【cto】  【Blog】   点击查看原文>

Ubuntu 12.04 安装mysql及mysql-python

1、安装python开发包:sudo apt-get install python-dev 2、安装mysql服务端、客户端及扩展包: sudo apt-get install mysql-server mysql-client libmysqlclient-dev 3、安装python第三方库管...

【python】  【mysql】  【ubuntu】  【cto】  【Blog】   点击查看原文>

表示 进入内容 111120628
« 先前的 10 新的记录 | 下一步 10 较早的记录 »