Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

phpmyadmin is working fine but I can't find config.inc.php file?

Tags:

php

phpmyadmin

This is weird

I have phpmyadmin 4.2.5 installed on my Windows 7 machine, it currently is working fine and located in localhost/phpmyadmin

I can view, edit, create databases, tables, etc.

Now I wanted to change some settings and so I looked for the config.inc.php file in the phpmyadmin directory but it's not there?

I have a config.sample.inc.php but obviously it's just a sample

I did a search and the only config.inc.php file is in the /setup/frames/ folder which is clearly not the main config file.

So where is it? I installed phpmyadmin last month and I think I just copied it to my htdocs folder, nothing special, but I can't remember if I did something different.

like image 852
ethmz Avatar asked Jul 29 '14 03:07

ethmz


People also ask

Where is phpmyadmin config inc php?

The configuration files are located in the /etc/phpmyadmin directory. The main configuration file is /etc/phpmyadmin/config. inc. php, which contains the configuration options that apply globally to phpMyAdmin.

Where can I find config php?

The wp-config. php file is usually located in the root folder of your website with other folders like /wp-content/. Once you have downloaded the wp-config. php file, you can make the appropriate changes then re-upload it to your web server.

Where is config inc php file in xampp?

The file is config. inc. php of XAMPP located in /opt/lampp/phpmyadmin .


2 Answers

The config.inc.php file is not required, and only needed for custom configurations

phpmyadmin will first refer to ./libraries/config.default.php to retrieve the default values.

If for some reason you need to modify the default values, and the ./config.inc.php file doesn't exist, you will need to create one as per the Installation documentation.

You will also need to configure pmadb for some of phpmyadmin's special features such as bookmarks.

like image 117
EternalHour Avatar answered Oct 29 '22 13:10

EternalHour


Initially this file is not present. After Restart XAMPP/WAMP, it is created.

Go to path c:\xamp\phpmyadmin.In that folder config.inc.php file would be present.

like image 29
Md Wasi Avatar answered Oct 29 '22 13:10

Md Wasi