Article:
 |
|
Apache Web-Serving With Mac OS X, Part 5
|
| Subject: |
|
Errcode: 13 |
| Date: |
|
2002-05-07 04:26:23 |
| From: |
|
anthropos9
|
|
|
|
I ran the pkg install of MySQL and everything seemed to be working until I ran the test.php script. Here's what I got:
Connection to the database has been established.
Can't create/write to file './test/wisdom.frm' (Errcode: 13)
Table 'test.wisdom' doesn't exist
Table 'test.wisdom' doesn't exist
Warning: Supplied argument is not a valid MySQL result resource in /Users/seandean/Sites/test1.php on line 41
Can anyone help me with what I may have done wrong here?
|
Showing messages 1 through 2 of 2.
-
Errcode: 13
2002-05-07 15:27:28
jmillr
[View]
-
Errcode: 13
2003-01-02 03:33:34
anonymous2
[View]
sudo chown -R mysql /usr/local/mysql/*
After running this command, the php script runs as advertised. (The instructions in the article are still wrong; they omit the trailing '/*').