![]() ![]() So here's the answer:ģ) You will need to get the process id of mysql. I found the answer to my problem but I can't answer it yet. I have no idea what to do.Īfter looking around the internet a bit, I found a similar problem a user had with MAMP, another user recommended killing the mysql process, what ever that means. The server is not responding (or the local server's socket is not correctly configured). When I go to phpmyadmin, it throws me this error message. Applications/XAMPP/xamppfiles/proftpd/scripts/ctl.sh : proftpd startedīoth my ProFTPD and my Apache Web Server are running. Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started Applications/XAMPP/xamppfiles/proftpd/scripts/ctl.sh : proftpd stopped Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd stopped This is what it says: Stopping all servers. It doesn't throw me an in the application log. Ever since, MySQL won't start in my manager-osx application. Today I installed a voice recognition software and then restarted my computer. It sure makes things easier.I downloaded XAMPP about a month ago and it was working just fine. A big tip o the hat and a hug to the XAMPP crew for a fabulous project. I believe that, technically, the versions of software are different between the current OS X and GNU/Linux distributions of XAMPP however, they are close enough that our PHP app works on both platforms just fine. That is all it takes to mirror our dev environment between platforms. On the GNU/Linux side, let’s restore: ~]$ ls ~]$ bzip2 -d ~]$ /opt/lampp/bin/mysql -p -u root < databasebackup.sql Srv-5:/Applications/xampp/xamppfiles/bin usr4$ mysqldump -all-databases -u root -p | bzip2 -c > ~/2 ![]() Srv-5:/Applications/xampp/xamppfiles/bin usr4$ pwd Here is how we back up our database on the OS X side: Of course, unless you change port numbers, you can’t run the XAMPP stuff concurrently with any other MySQL and/or Apache services. As an added precaution, use different passwords for your databases. Also, before you go restoring any databases, shut down, if possible, any other instances of MySQL. Now, the paths are embedded in the system, so you need to make sure that you use the correct binary. We need to transfer our PHP and HTML files: htdocs]# cp /home/usr-1/htdocs/*.php htdocs]# cp /home/usr-1/htdocs/*.html htdocs]# lampp]# cp /home/usr-1/config.php lampp]# lampp]# XAMPP: Do you want to change the password? XAMPP: The FTP password is still set to 'lampp'. XAMPP: Change phpMyAdmin's authentication method. XAMPP: Write the password somewhere down to make sure you won't forget it!!! XAMPP: Setting phpMyAdmin's pma password to the new one. XAMPP: The MySQL/phpMyAdmin user pma has no password set!!! XAMPP: Your XAMPP pages are NOT secured by a password. Don’t even dink around on the web page: usr-1]# /opt/lampp/lampp security Really, before you do anything else, secure it. XAMPP: Starting Apache with SSL (and PHP5). To get the app up and running on GNU/Linux, we first need to install XAMPP: usr-1]# ls usr-1]# ls usr-1]# tar -xzf xampp-linux-1.4.16.tar.gz -C usr-1]# /opt/lampp/lampp start We initially developed the application on OS X. Our GNU/Linux box, for instance, already has Apache and MySQL on it however, it is very easy to isolate the database and configuration of PHP, as well as maintain consistent operation between platforms using XAMPP. It will run on a specific user’s machine. Further, the target audience for this may very well use XAMPP to run the application, since it is not a public application. ![]() Most of the work is done on OS X, but we also do some work on GNU/Linux. This project is perfect for maintaining a cross platform dev environment for an application we are currently working on. We wrote about the XAMPP project in this article.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |