views:

49

answers:

1

I completed my install on Leopard with Mac Ports. I also installed Mysqld via Mac Ports for use with python. I set the password for mysql on mysql start. Everything seemed to be fine except when I invoke mysql-start from the command line now I get this: mysql-start ***Password: Starting MySQL . SUCCESS! demetrius-fords-macbook-pro-17:~ demet8$

I also get a system que stating:Do you want mysqld to accepting incoming notifications.....

So I kinda think I am activating mysqld, not the actual mysql command interpreter. I can use mysql-stop with no problem to shut the server down. Lastly in the Python interpreter when I run: import MySQLdb I get this:

/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/MySQLdb/_init_.py:34: DeprecationWarning: the sets module is deprecated from sets import ImmutableSet

I don't think this affects mysqld @ all. I don't have the mysql default socket in my path via bash_login. Do I need to do that? thank you....

A: 

The command for the client is normally mysql (see MySql docs) However in macports they have appended the major version number so try mysql5

The python error is only a depreciation so can be ignored

Mark
Mark it worked! I feel really stupid.....Thanks man. I goggled for hours trying to see if there was an alternate connect command to mysql via mac ports but I wasn't successful. Thank you again.
demet8