Home > Database > Mysql Tutorial > 导数据_MySQL

导数据_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:54:33
Original
858 people have browsed it

ln -s source dist 是产生一个连结(dist)到 source
修改mysql时,一定要记住:
1:先停止mysql服务(对所有的服务都要先停后修改)
service mysql stop  或到mysql自己的启动脚本下停止mysql.server stop


2:备份数据,(对所有的服务器操作都要保证数据不丢失)

接着做要做的修改
把所有的mysql下的文件全放到/lu/my/mysql-standard-4.0.20-pc-linux-i686下,然后
ln -s /lu/my/mysql-standard-4.0.20-pc-linux-i686 mysql
删除原来的 ln  ---> unlink mysql
chown -R mysql mysqllink/     将mysql 权限需要修改成 MYSQL
chown -R mysql mysql
最后启动mysql.server start

cp -R mysqllink /lu2/   考贝 cp -R 源文件  目标文件  (-R  全目录)

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
MySQL stops process
From 1970-01-01 08:00:00
0
0
0
Error when installing mysql on linux
From 1970-01-01 08:00:00
0
0
0
phpstudy cannot start mysql?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template