Jump to content

[SOLVED] phpMyadmin "Invalid Server Index"


Recommended Posts

Sounds like a config problem... can you access the database directly?

 

I'm afraid I don't know how. 

 

I haven't created a database yet, and the book I am using to get the operating environment up and running does not say anything about creating a data base for phpmyadmin to work correctly.

I think what fenyway means by "directly" is creating a database through mysql itself (via the command line) rather than using a third party app to manage mysql.

 

However I think the invalid server index message is to do with phpmyadmins configuration file. To sort the error see if the following sorts it out:

 

Go the libraries folder inside phpmyadmin and copy a file called config.default.php to the root of your phpmyadmin folder. Rename this file to config.inc.php (make sure you remove/rename the existing config.inc.php file). Edit the new config.inc.php to your mysql server settings.

 

Try running phpmyadmin again.

I think what fenyway means by "directly" is creating a database through mysql itself (via the command line) rather than using a third party app to manage mysql.

 

However I think the invalid server index message is to do with phpmyadmins configuration file. To sort the error see if the following sorts it out:

 

Go the libraries folder inside phpmyadmin and copy a file called config.default.php to the root of your phpmyadmin folder. Rename this file to config.inc.php (make sure you remove/rename the existing config.inc.php file). Edit the new config.inc.php to your mysql server settings.

 

Try running phpmyadmin again.

 

It worked!

 

As always, thank you for your help, wildteen.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.