![]() ![]() XAMPP provides only a utility for starting/stopping the servers. Download MAMP/MAMP Pro - for MacOS 10.4-10.6, Universal binary MAMP includes PHP 4 and 5.2, and MySQL 5.1. There is a commercial utility (named MAMP PRO) available for more advanced options. The utility also allows basic configuration of the servers, including the port MySQL runs on (default is 8889). MAMP includes a GUI utility for starting and stopping the servers. There are no hidden files and both packages are trivial to uninstall - just drag the MAMP/XAMPP folder to the trash. ![]() These packages are installed by copying the MAMP/XAMPP folder to your applications folder. The two packages differ in the selection of utilities they include, but both of them include their own version of Apache, MySQL, and PHP. They are designed to give developers an easy way to serve up PHP pages using Apache and MySQL right on their Mac. MAMP and XAMPP are complete web development packages. ![]() MySQL 5.0 for Mac OS X - for MacOS 10.4-10.5, Intel only MySQL 5.1 for Mac OS X - for MacOS 10.4-10.6, Intel only, recommended Version MySQL 5.5 for Mac OS X - for MacOS 10.4-10.6, Intel only You can optionally install a startup item that starts the MySQL server when your computer starts. The download also includes a system preference pane for starting/stopping the server. offers a standard MacOS installer package that installs the MySQL Server and several command line utilities. This is the fastest method for installing MySQL on your Mac, but only available for Intel processors. We have provided links to the most common installation methods for Mac OS X. There are several different ways to install MySQL on Mac OS X. (See Web Hosting Providers for a list of hosting options). Most webservers and website packages will include a MySQL installation as part of the services they provide, and usually provide external connection details to allow you to connect to them in an external program like Sequel Pro. You will have to install a copy on your local machine, or connect to the MySQL server on a machine somewhere on the Internet. Everything points to my MySQL install on OS X.Mac OS X doesn't ship with its own copy of MySQL, nor does Sequel Pro. I'm just not clear on how to set up my environment to do so. I'd like to issue these mysqladmin commands to the MySQL installed in MAMP. Threads: 1 Questions: 1 Slow queries: 0 Opens: 12 Flush tables: 1 Open tables: 6 Queries per second avg: 0.022 This is free software,Īnd you are welcome to modify and redistribute it under the GPL license This software comes with ABSOLUTELY NO WARRANTY. applications/mamp/library/bin/mysqladmin Ver 8.41 Distrib 5.0.41, for apple-darwin8.11.1 on i686 If I launch MySQL, sudo -b mysqld_safe, and issue the command again, I get the expected response: ![]() This indicates that bash is trying to run the mysqladmin command using my non-MAMP install of MySQL. Applications/MAMP/Library/bin/mysqladmin: connect to server at 'localhost' failedĮrror: 'Can't connect to local MySQL server through socket '/private/tmp/mysql.socket' (2)'Ĭheck that mysqld is running and that the socket: '/private/tmp/mysql.socket' exists! Applications/MAMP/Library/bin/mysqladmin version I can't access mysqladmin for MAMP's install of MySQL.įor example, if I enter the following command: Yes, this same information is also included with MAMP.Īs I explained above, my problem is different. Which, of course, means that my command is being applied to my non-MAMP install of MySQL. however, I get the error message:ĮRROR 2002 (HY000): Can't connect to local MySQL server through socket '/private/tmp/mysql.socket' (2) Here I've added the path to my MAMP bin directory (where mysqladmin is found) before anything else. bash_login file:Įxport PATH="/Applications/MAMP/Library/bin:/usr/local/bin:/usr/local/sbin: For example, I've applied the following line to my. bash_login files, but this isn't fixing the problem. I've tried to reconfigure my environment variables for my PATH in both my. However, I'm having trouble doing this because my bash shell tries to apply the commands I enter to my non-MAMP install of MySQL. As I understand it, this must be done from the command line. I'd like to change my root password for the MySQL install running under MAMP. My installation of MAMP appears to be working fine. Recently, I've decided to give MAMP a try. I have the latest version of MySQL installed on my Mac. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |