Simon Lee
04-03-2002, 09:14 PM
Dear all,
Owing to new linux server (Redhat 7.1) installation, we want to migrate all the mysql databases from the old server to the new one. We only copy all MYD, MYI, and frm files to the folder
/var/lib/mysql/databasename/.
Then I test the databases validity.
When enter "use databasename" in the mysql shell, the error message is prompt out,
Cannot read dir of './databasename/' "Errcode:13"
Database changes.
This show database have no authority.
Since there are a lot of database in my Linux server, please give an effective way to change the authority of each database, thanks.
Sincerely yours,
Simon
Owing to new linux server (Redhat 7.1) installation, we want to migrate all the mysql databases from the old server to the new one. We only copy all MYD, MYI, and frm files to the folder
/var/lib/mysql/databasename/.
Then I test the databases validity.
When enter "use databasename" in the mysql shell, the error message is prompt out,
Cannot read dir of './databasename/' "Errcode:13"
Database changes.
This show database have no authority.
Since there are a lot of database in my Linux server, please give an effective way to change the authority of each database, thanks.
Sincerely yours,
Simon