Problems with creating MySQL database in MacOs10.3 & MX 2004 -
01-14-2004
, 05:31 AM
I'm going through the tutorial for DW MX 2004 in the section "Setup for sample PHP site" and specifically I'm on "Creating the MySLQ database". I'm on Mac G4 OSX 10.3 Panther. MySLQ version is 4.0.17. I have no unix experience.
My problem is this:
I am trying to use the "insert.sql" file included with the tutorial to add tables and records to the "TrioMotors" database. They said to type:
mysql -uUser -pPassword TrioMotors < ~/Documents/insert.sql
....but everytime I type this, I get an error saying: "-bash: mysql: command not found". The way I'm accessing the mysql client is by typing "/usr/local/mysql/bin/mysql -uroot -p'mypassword" at the prompt.
What am I doing wrong? Any help would be greatly appreciated. Thanks. |