Opened 14 years ago
Last modified 14 years ago
#25917 closed defect
Mysql5 Path — at Version 2
Reported by: | oldmilwaukee33@… | Owned by: | ryandesign@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | ||
Port: | mysql5 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
When I run python manage.py dbshell
I am getting an error message regarding mysql5 not being in my path. I have tried a few things in my settings.py file but I must be setting the path incorrectly. I want to find the correct path to mysql5 & set it in my bash_login file. This should allow mysql5 to be found @localhost in my settings.py file & also have mysql5 in my system path.....
demetrius-fords-macbook-pro-17:jenniwren demet8$ python manage.py dbshell /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 Error: You appear not to have the 'mysql' program installed or on your path.
Change History (2)
comment:1 Changed 14 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | Mysql5 Path removed |
Milestone: | MacPorts 1.9.2 |
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | mysql5 added |
Type: | request → defect |
comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
From the error message it appears to be looking for "mysql" rather than "mysql5". "mysql" is located in /opt/local/lib/mysql5/bin; put that in your PATH.