![]() Mysqld: Table ‘ugin’ doesn’t existġ20408 1:12:12 Can’t open the ugin table. I’m having an issue installing MySQL and making it work with python.ġ20408 1:12:12 Setting lower_case_table_names=2 because file system for /usr/local/mysql/data/ is case insensitiveġ20408 1:12:12 Plugin ‘FEDERATED’ is disabled. ![]() I’d suggest starting from the Django’s excellent introductory tutorial. If you are not getting any errors at this point, then you are all good to go! On your settings.py remember to set “127.0.0.1” as your preferred db host in case that “localhost” doesn’t work. Moreover if you prefer MAMP, you don’t have to run mysql from /usr/local/mysql. If you are already using MAMP you still have to follow the above MySQL installation process, as MAMP by default doesn’t include the required header files to build MySQL-python. ![]() You are now ready to build and install MySQL-python:Įdit your ~/.bash_profile, add the following line:Įxport DYLD_LIBRARY_PATH=/usr/local/mysql/lib/ – You should now have mysql installed on /usr/local/mysqlĭownload the latest MySQL-python package hereĮdit site.cfg on your favorite text editor and change the mysql path as below: mysql_config = /usr/local/mysql/bin/mysql_config – At this point I am assuming that you are familiar with the Terminal, so simply execute the following commands on your Downloads folder:ĭownload the latest MySQL (64-bit, tar archive) here ![]() Here is a quick setup guide for installing Django and MySQL-python on Mac OS X Lion. Django is an excellent web-framework written in Python. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |