On 8 Feb 2004, at 1:33, Marty Ray wrote:
I am new to mysql and I am having trouble getting started. I am using a Macintosh G5 running OS 10.3.2. I got mysql installed and it would run, however when I tried to create a database, I got an error saying permission denied. I tried running the scripts/install_mysql_db, and I had to change permissions on ./data. Once I solved that one I now have a problem that has me stumped. When I run the script it now says:
"ERROR: 1 Can't create/write to file './mysql/db.frm' (errcode: 13)"
That's still permisison denied:
% grep 13 /usr/include/sys/errno.h #define EACCES 13 /* Permission denied */
I have fixed the permissions on the ./data directory, but I can't figure out what else to do.
Any suggestions? (take it easy on me, I'm fairly new to Unix)
Assuming you have stuff install in /usr/local/mysql...
chown -R mysql /usr/local/mysql/data chmod -R u+rw /usr/local/mysql/data
That's assuming your mysql is running as the user "mysql".
-- Dave Hodgkinson CTO, Rockit Factory Ltd. http://www.rockitfactory.com/ Web sites for rock bands
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]