目标 将默认的数据文件存储目录/var/lib/mysql,移到/home/data/mysql 1.停止mysq服务
systemctl stop mysqld orsystemctl stop mariadb 2.
【mysql】 【数据库】 【配置】 【centos】 【Mariadb】 【Socket】 【存储】 点击查看原文>
Community journal
Follow the feed
The latest from the MySQL community
Ideas, releases, practical guides, and perspectives from the people building with MySQL.
Showing entries 2111 to 2120 of 15691
« Previous |
Next »
Jan
06
2018
Jan
06
2018
Jan
06
2018
Jan
06
2018
Jan
06
2018
前言 这里我已经将MySQL的数据库编码设置为UTF-8,所以下面现实的都是UTF-8。
设置MySQL数据库的编码方式有三种,分别是基于session会话的、基于全局gloable的、永久性改变的。
【mysql】 【数据库】 【Create】 【session】 【variables】 【database】 【utf-8】 …
Jan
06
2018
Jan
06
2018
Jan
05
2018
MySQL 不允许向 secure_file_priv 意外的目录导出文件。 mysql> SELECT * FROM
`order` INTO OUTFILE '/tmp/order.txt'; ERROR 1290 (HY000): The
MySQL server is running...
【mysql】 【Server】 【variables】 【IT】 点击查看原文>