- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
How to install phpMyAdmin tool and limit it’s access to specific database
July 13, 2012
- Download phpMyAdmin tool package at http://phpmyadmin.net
- Unzip it using WinZip or any other unzipping software you like and upload to your hosting account using any FTP manager you like.
- Create config folder in main phpMyAdmin folder and ensure that your web server has read and write access to it.
- Open http://your_host.com/path_to_phpMyAdmin/setup/ in your browser (substituting the correct path information) and click New Server button
- Fill in Server hostname field. Please contact your hosting provider and ask them which hostname you should use to connect to your database.
- Select Authentication tab at the top.
- Select http from ‘Authentication type’ drop-down menu. ‘User for config auth’ field should be blank. Fill in ‘HTTP Realm’ field. The message will be displayed to the user when logging in to phpMyAdmin and click Save button at the bottom.
- Click Save button to save config file.
- Navigate to config folder on your FTP and move config.inc.php file to main phpMyAdmin folder. Delete config folder and rename setup folder.
- Open http://your_host.com/path_to_phpMyAdmin in your browser (substituting the correct path information)
- Login using your database username and password.
- To display one or selected set of databases you should create config folder in main phpMyAdmin folder and open http://your_host.com/path_to_phpMyAdmin/setup/ in your browser (substituting the correct path information).
- Click Edit button which is highlighted on the screenshot.
- Select Server configuration tab at the top.
- Type the names of the databases you would like to display in your phpMyAdmin to Show only listed databases field (one on a line). Note: escape _ sign, e.g. use ‘my\_db’ and not ‘my_db’.
- Click Save button
- Click Save button highlighted on the following screenshot to save configuration file.
- Navigate to config folder which is located in your main phpMyAdmin folder and move config.inc.php file to main phpMyAdmin folder.
- Refresh phpMyAdmin in your web browser. You should see the databases you have added to Show only listed databases field.
You should see the following screen
You should see similar form which is asking for User Name and password
Feel free to manage your databases.
Feel free to check the detailed video tutorial below:
How to install phpMyAdmin tool and limit it’s access to specific database