Darkwaldo Posted October 19, 2007 Share Posted October 19, 2007 When I access phpMyAdmin, I get an "invalid server index" error at the bottom of the screen where I believe the mySQL information should be. Does anyone know what is causing this problem? Quote Link to comment Share on other sites More sharing options...
fenway Posted October 19, 2007 Share Posted October 19, 2007 Sounds like a config problem... can you access the database directly? Quote Link to comment Share on other sites More sharing options...
Darkwaldo Posted October 21, 2007 Author Share Posted October 21, 2007 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. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted October 21, 2007 Share Posted October 21, 2007 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. Quote Link to comment Share on other sites More sharing options...
Darkwaldo Posted October 23, 2007 Author Share Posted October 23, 2007 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.