q986 发表于 2018-9-27 10:48:37

mysql修改datadir

# vi /etc/my.cnf  
  datadir=/mysqldata/mysql
  socket=/mysqldata/mysql/mysql.sock
  # Default to using old password format for compatibility with mysql 3.x
  # clients (those using the mysqlclient10 compatibility package).
  old_passwords=1

页: [1]
查看完整版本: mysql修改datadir