表示 进入内容 5415501042
« 先前的 10 新的记录 | 下一步 10 较早的记录 »
Displaying posts with tag: Blog (reset)
MySQL问题解决:-bash:mysql:command not found

MySQL问题解决:-bash:mysql:command not found 问题:        [root@linux115 /]# mysql -uroot -p          -bash: mysql: command not found 

因为mysql命令的路径在/usr/lo...

【linux】  【mysql】  【path】  【cto】  【Blog】  【vim】  【Bash】   …

[获取更多]
参考---------正确安装MySQL5.6的配置文件

http://blog.chinaunix.net/uid-167175-id-4426257.html mysql 5.6优化,性能提升6倍 ,mysql5.6占用内存大,通过state优化 http://ssydxa219.

【mysql】  【性能】  【配置】  【html】  【cto】  【Blog】  【ITeye】   点击查看原文>

MYSQL 内存报错 Use 'mysqld --thread_stack=#' to specify a bigger stack.

MYSQL 内存报错 Use 'mysqld --thread_stack=#' to specify a bigger stack. 今天在使用mysql的过程中,连接数据库始终无法成功 最后发现是数据库无法执行增加修改的操作 :错误代码 Thread stack overrun:  11552...

【mysql】  【数据库】  【配置】  【thread】  【cto】  【Blog】   点击查看原文>

Warning: Unit file of mysql.service changed on disk, 'systemctl daemon-reload' recommended.

CentOS 7下重启MariaDB的时候出现Warning: Unit file of mysql.service changed on disk, 'systemctl daemon-reload' recommended.错误,根据提示, 解决方法: systemctl daemon-reload 正常重启MariaDB systemctl restart mysql 即可。

【mysql】  【centos】  【Mariadb】  【file】  【cto】  【Blog】  【unit】   …

[获取更多]
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

在Centos系统输入mysql回车出现以下错误的解决方法: MYSQL错误:ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.

【mysql】  【数据库】  【yum】  【centos】  【Server】  【cto】  【Socket】  【Blog】   …

[获取更多]
MYSQL连接Error (1133): Can’t find any matching row in the user table错误的解决办法

连接mysql数据库报错如下: Error (1133): Can’t find any matching row in the user table

解决办法: mysql> grant all on *.

【mysql】  【数据库】  【BY】  【grant】  【cto】  【Blog】   点击查看原文>

MySQL设置binlog日志的有效期自动回收

设置日志保留天数,到期后自动删除

查看当前日志保存天数:

show variables like '%expire_logs_days%'; 默认是0,即永不过期。 

通过设置全局参数修改:

set global expire_logs_days=30; 设置为保存30天

或者修改 my.

【mysql】  【日志】  【variables】  【binlog】  【cto】  【Blog】   …

[获取更多]
mysql相关操作

备份数据库 mysqldump -uroot -p abc > abc.sql 导入数据库 mysql -uroot -p abc
【mysql】  【SQL】  【数据库】  【test】  【字符集】  【charset】  【Create】  【database】  【Blog】   …

[获取更多]
mysql_install_db: /usr/bin/perl: bad interpreter:

centos 7安装mysql报错-bash: ./scripts/mysql_install_db: /usr/bin/perl: bad interpreter: No such file or directory [root@localhost mysql]# .

【mysql】  【数据库】  【yum】  【centos】  【file】  【Blog】  【perl】  【Bash】   …

[获取更多]
MySQL 5.6数据导入报 GTID 相关错误

用命令行mysql -uroot -p --default-character-set= -f  方式会报如下错误: ERROR 1839 (HY000) at line 24: @@GLOBAL.GTID_PURGED can only be set when @@GLOBAL.GTID_MODE = ON.

可以通过 source 方式导入解决。

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

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