MySQL
September 13, 2004 9:29 AM
Subscribe
mysqlfilter: I'm in the midst of
installing phpwiki on OS X panther and, because I am following the steps drone-like and have no idea what I am doing. . .
... I get to the part where I change directories to within PHPWiki, a folder called "schemas" and the Macdev Gods beckon me to:
/usr/local/mysql/bin/mysql -uroot -p[password you just set in mysql] wiki [there is a greater than sign here] mysql.sql
I understand that I'm using mysqladmin to create a database called wiki, I think, and that something is getting piped into mysql.sql. Possibly.
When I type the command, however, I keep getting this error:
mysql.sql: No such file or directory
There's not a file called "mysql.sql" in this directory. If I slap one in there from another app, I get the same error. So my question is:
1. what obvious mistake am I making?
(I am using the correct password, and can create databases in the same directory with other names)
2. What exactly am I doing here, so I can look up the answer in the docs?
Thank you for your patience.
posted by mecran01 to computers & internet (8 comments total)
mysql.sql should be a list of SQL commands; if you don't have it, you'll need to look around for it or figure out what previous step you messed up. :-)
(Pay particular attention to the line: First, for the database, in the PHPwiki distribution that you unpacked there's a directory called "schemas". Go there and issue this command...)
posted by Khalad at 9:41 AM on September 13, 2004