30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Zend Server <strong>Reference</strong> Manual<br />

Working with MySQL Server: Linux<br />

This procedure is relevant for users who manually downloaded and installed phpMyAdmin.<br />

This procedure describes how Unix users with root privileges can use the phpMyAdmin tool to set up their<br />

environment to work with a MySQL server.<br />

Before following these instructions, verify that your MySQL server is installed and running. If you do not<br />

have an Internet connection, make sure you have access to the phpAyAdmin installation package.<br />

152<br />

To extract and install phpMyAdmin:<br />

1. Download the package from http://www.phpmyadmin.net.<br />

2. Extract the package with the command tar -xzvf phpMyAdmin-2.11.7-all-languages-utf-8only.tar.gz.<br />

3. Move the extracted directory to /zend/gui/lighttpd/htdocs/phpMyAdmin with the following<br />

command:<br />

mv /zend/gui/lighttpd/htdocs/phpMyAdmin .<br />

4. Change your directory using the following command: cd<br />

/zend/gui/lighttpd/htdocs/phpMyAdmin/<br />

5. Create a directory called config under the phpMyAdmin directory with the following<br />

command: mkdir config.<br />

6. Open the phpMyAdmin Web Interface by following the link:<br />

https://localhost:10082/phpMyAdmin/scripts/setup.php .<br />

If you are using a different port or connecting from a remote server, replace the port<br />

number with the appropriate port number or replace with the IP<br />

address of the remote computer.<br />

7. Once the phpMyAdmin setup page is open, you can start configuring it to manage your<br />

MySQL Server.<br />

To configure phpMyAdmin to work with an existing MySQL server:<br />

1. In the phpMyAdmin setup page, click Add to add a MySQL server.<br />

2. In the Add section, configure the following parameters:<br />

- Server Host Name: localhost for local servers. If you are not using a local server, enter<br />

your machine's IP address.<br />

- Port socket path.<br />

Most users will not have to change any settings.<br />

3. In the Authentication Type drop-down, change the type to http.<br />

4. Click Add to add the new server and fold the display.<br />

A message stating that a new server was added is displayed.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!