phpmyadmin windows

How to Install and Configure phpMyAdmin on IIS in Windows 8/Server 2012

PHPMyAdmin is a web-based open source tool written in PHP designed to help manage MySQL database through the Web browser. Because of this PhpMyAdmin facilitates the management and maintenance of the MySQL database. PhpMyAdmin provides an easy way to use graphic interface to write and execute queries, manage users and databases, to export and import data, etc. It should be noted that user does not need to know SQL commands and use them directly. Most web hosting providers use phpMyAdmin to access their clients to MySQL databases.

How to Install and Configure phpMyAdmin on IIS

In this article, we will show you how to install and configure phpMyAdmin on IIS Web Server on Windows 8 / Windows Server 2012. It assumed that you have already configured IIS with PHP support and run mySQL.

First of all you have to download the latest version of phpMyAdmin. You can do this from the link below:

You should download a file with all languages (the file name ends with *all-languages.7z or * File size is about 5 MB.

Extract the files from the archive to phpmyadmin folder (C:\inetpub\wwwroot\phpmyadmin).

In general, we have completed the installation of phpMyAdmin. Now we should open a browser and make sure that we did installation correct. Visit http://localhost/phpmyadmin/ and you will see a window like this:

READ ALSO  FSMO Role: Domain Naming Master

phpmyadmin welcome

Now we have to configure phpMyAdmin. Before you connect to the SQL server, you should create a configuration file. This file can be created manually (simply use a text editor), but we will use another method (by using GUI). Visit http://localhost/phpmyadmin/setup/ in your browser.

During your first session you will see an error message.

phpmyadmin configure

To solve this problem you should create folder (C:\inetpub\wwwroot\phpmyadmin\config). After that give full rights for IIS_IUSRS group and IUSR user.

phpmyadmin config

Return to the config window. To configure the connection settings click on the “New Server” button.

phpmyadmin new server

Enter the verbose name of the SQL server, and then the server hostname. If necessary, you can specify other settings.

phpmyadmin basic settings

Save the settings and then the server will redirect us to the previous page. Choose:

  • the default language – English
  • the default server –
  • end of the line – Windows (\ r \ n)

phpmyadmin config file

Click Save, and then download. The received file ( you should save to the root directory (C:\inetpub\wwwroot\phpmyadmin).

Open the authorization window (http://localhost/phpmyadmin/) and login under root account. If you see a starting phpMyAdmin window, you can delete config folder.

For the correct work phpMyAdmin requires a database with the information. The script for creating database is already installed. On the main page click on the Import tab and then click on the Browse button. Select the C:\inetpub\wwwroot\phpMyAdmin\examples\create_tables.sql file and click Go.

READ ALSO  Error 0x80070057: How to Solve

If you did it correct, you should see a new database in the left section.

Also, for a proper work phpMyAdmin requires a dedicated MySQL account.

phpmyadmin new user

We recommend you to create account like this:

  • User name: pma
  • Host: localhost
  • Password: sTr0ngPmapa $$

After that you should grant all database privileges to our user.

phpmyadmin privileges

Finally, you have to uncomment / add lines in
$cfg[‘Servers’][$i][‘controluser’] = ‘pma’;
$cfg[‘Servers’][$i][‘controlpass’] = ‘sTr0ngPmapa$$’;

And that’s it. We have completed the installation of phpMyAdmin. Now you can proceed with the databases management. If you encounter any issues or have any questions you may request that in the comment section below.

You may also like:

Deploy Local GPO with MDT 2013 Local Group Policy of computer is configured through gpedit.msc snap-in, which does not provide the possibility to export/import settings. That's why ...
Active Directory auditing: No simple road to succe... Auditing Active Directory almost always finds place at the top of the administrator’s to-do list. There are a number of pressing needs that make audit...
Boot Straight to the Desktop in Windows 8.1 Boot Straight to the Desktop With the release of Windows 8.1 you now have the option available to you to boot straight to the desktop instead of Metr...
Upgrade to Windows 10 Using MDT 2013 Update 1 Hello guys. In this article we are going to be dealing with MDT 2013 Update 1 and pushing out a Windows 10 upgrade. So let’s start. This time we...
How to set CPU Usage limit for Application Pool on... The important function of web server is the ability to limit the CPU usage for a specific site, otherwise one website can use all the CPU resources, t...