Home / Internet / Webapps / phpMyAdmin

phpMyAdmin

phpMyAdmin login

http://www.phpmyadmin.net/

An intuitive GUI (Graphical User Interface), meaningful error messages, regular updates and good documentation make this the tool of choice for using and learning how to use MySQL databases.

Install phpMyAdmin on Snow Leopard Server

  • Download the latest version from - http://www.phpmyadmin.net/home_page/downloads.php
  • Get the .bz2 version for small size and automatic extraction with a simple double-click of the file
  • Double click to extract the archive contents, rename the extracted folder pma, or pma<version> if versions are important. In this example the folder is named pma324 indicating version 3.2.4 of phpMyAdmin.
  • Move the renamed archive into /Library/Webserver/Documents/ on the server..
    filepath
  • Change ownership to root on the pma324 folder: sudo chown -R root /Library/Webserver/Documents/pma324 --enter the admin user password when prompted.
  • Launch web browser to site. http://<yoursite>/pma324/ substituting the actual site name or ip address for <yoursite>..
    weblogin
  • Enter the user name and password for a valid mysql user that has previously been set up on the machine <link to mysql here>, into the login fields.
  • A web GUI displaying all databases and schema to which the logged in user has access appears, in this case root user, so full access..
    rootloggedin
  • At first login, at the bottom of the screen, is a blowfish warning which must be heeded..
    blowfishwarning
  • To set the blowfish passphrase using terminal: sudo pico /Library/Webserver/Documents/pma324/config.sample.inc.php then enter machine password when prompted.
  • configfile
  • Still in the pico editor in the Terminal application, control-o (write-Out), save the file as config.inc.php when prompted. Take the .sample out of the file name in other words. Then control-x to eXit the pico editor.
  • Close or log out of the phpMyAdmin web page, then log back in to the http://<yoursite>/pma324 to verify that the blowfish_secret error no longer appears. The problem loading the mcrypt extension is long standing, and generally not a grave concern.

Troubleshooting

Most common problem, the default path to web documents, /Library/Webserver/Documents is changed so webserver may take advantage of higher speed external disk or RAID. If get an error about object not found in the browser, check the logs for the web service on Snow Leopard Server to divine the actual path the Apache2 web server is using to serve files.

Comments

P.S.....

I'm intent upon running this on a Mac Mini Server using OS 10.6.4.

I've got one web-site for in-house use, i.e., members only, using Apple's blog-wiki operating system.

This proposed web-site—that will use Expression Engine (EE)—is being offered up to the public by the same computer. It's purpose is to provide a web-site for organizations such as neighborhood associations that do not have the where with all to establish their own web-presence.

Since Apple's system does not allow for changing the banners or other modifications to their pre-packaged, boiler-plate themes, I'm turning to EE.

More Troubleshooting Help, Please

I'm using an external HD to hold the web-site. However, my problem isn't necessarily "File Not Found". Rather, I'm being told that the 'config' file doesn't exist or is improperly 'permitted'.

The text of the error message is:

"Cannot load or save configuration
Please create web server writable folder config in phpMyAdmin top level directory as described in documentation. Otherwise you will be only able to download or display it."

However, there IS such a folder in the re-named phpMyAdmin folder. And the permissions thereof ARE set to 'Read & Write'.

The phpMyAdmin folder is located in the top-level of the folder I've established to hold the files for operating the web-site. These files are for the Expression Engine (EE) web operating system. Something I've used over the last seven years. However, THIS is the first time I've tried to run my own hosting service, instead of hiring some other service to do it. And therein is probably my problem. I'm uncertain as to where the re-named phpMyAdmin file is supposed to be placed with respect to the computer operating the service and the folder holding the web operating software.

Any advice would be appreciated.....

Log in or create a user account to comment.

ACN

Apple Certified Business Consulting

LAKEDATA.NET

Apple innovation speeds through projects, saving time and money. Run any Apple, PC, or open source application, all from one machine.