[MacPorts] #25917: Mysql5 Path
MacPorts
noreply at macports.org
Mon Aug 2 13:40:51 PDT 2010
#25917: Mysql5 Path
--------------------------------------+-------------------------------------
Reporter: oldmilwaukee33@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: | Port: mysql5
--------------------------------------+-------------------------------------
Old description:
> 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.
> }}}
New description:
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.
}}}
--
Comment(by ryandesign@…):
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.
--
Ticket URL: <http://trac.macports.org/ticket/25917#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list