Well thats not too hard isn’t it? note to myself, plan for XAMPP upgrade to 64bit version, or maybe use MAMP instead. If all goes well, you can test the new module in the shell by typing : that port 80 issue might have been that skype is running (it uses port 80). and to make it even trickier, my XAMPP use 32bit version of MySQL where my Python runs on 64bit (more on that later), so get the 32bit version here :Īfter it complete, extract the packages, and copy the “include” folder into /Applications/XAMPP/xamppfiles/ so it will be /Applications/XAMPP/xamppfiles/includeĪs i mention before, my python run on 64bit, so i need to set it to run on 32bit mode :ĭefaults write Prefer-32-Bit -bool yes Not sure if a re-installation would disrupt settings though. so download mysql server package that match your mysql version (in my case, the XAMPP use MySQL 5.1.44). It was working good 1st week but in second week, the database not started by manager-osx. The mySQL (and Apache) servers are running fine within Xampp, and I can get into phpmyadmin. When using XAMPP, following installation. 11:17:22 PM main Windows Version: Enterprise 64-bit. Here is the log: 11:17:22 PM main Initializing Control Panel. This is when it gets tricky, it turns out that XAMPP mysql lacks of mysql lib that was included in the standard mysql install. Running into issues when developing with XAMPP is normal, especially if youre working with it for the first time. Tried to install xampp a few times but cannot get it to run (it appears that MySQL is running but Apache cannot). Mysql_config = /Applications/XAMPP/xamppfiles/bin/mysql_config # or you have some weird setup that requires it. # Only use this if mysql_config is not on your PATH, (for XAMPP mysql the path will be “/Applications/XAMPP/xamppfiles/bin/mysql_config” ) This will start the XAMPP control panel: Setting Up 11) Click the two check boxes labelled Svc located next to the Apache and MySQL labels. install xcode from your osx installation disk if you hadn’t done it yet.)Įdit site.cfg, change mysql_config into your mysql_config path Right click on xamppstop.exe and select Run as Administrator 5. (from this point forward i assume you have xcode installed. hopefully it helps others.įirst of all, you will need the module itself. after i try struggle to install it, it turns out to be quite tricky. Step1: Open XAMPP Control Panel click the Config button. Ok, so it turns out that my mac doesn’t have mysql-python module installed yet. So follow the below steps to change Apache port. when i try to do manage.py syncdb, it says : or read the /xampp/mysql/data/mysqlerror.log. for mysql i cant help you, the default port is 3306, run a port scanner to check open ports on your system. It starts when i try to do a Django setup. that port 80 issue might have been that skype is running (it uses port 80). Installing MySQL-python on Snow Leopard using XAMPP MySQL
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |