HighDots Forums  

Problems with creating MySQL database in MacOs10.3 & MX 2004

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Problems with creating MySQL database in MacOs10.3 & MX 2004 in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
pockey webforumsuser@macromedia.com
 
Posts: n/a

Default 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.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.