View Full Version : The mysql option does not seem to work
Niklas
03-28-2005, 01:51 PM
I'm having problems with getting the EP-Dev counter to work when set to MySQl. When it is set to "use files" it works fine.
When I try to load the PHP-page that points to counter.php I just get this error:
"The page cannot be displayed"
I have edited the "config_mysql.php" and entered my MySql passwd. I have not changed anything else. (I have tried to replace "localhost" with my local IP address, but I did not help).
Do I need to set up the MySql datebase before I can use this option?
(I'm no expert in MySql.)
Patrick
03-28-2005, 09:08 PM
First off let me just say that the counter's MySQL option is working fine (thousands of websites use this counter) ;)
Yes, you do need to create a mysql database and specify its name in config_mysql.php. If your webhost has a control panel then this can usually be done from within the control panel. Do not forget that some control panels also have a setup where you must also create/assign mysql users to mysql databases (such as cPanel).
Niklas
03-31-2005, 02:59 PM
Thanks for the answer!
Now I created my first empty mysql DB! :blink: (I just created a blank table)
After that I imported the "dbtables.sql" file I found in the install directory.
Then I updated the "config_mysql.php" with the right DB name.
It worked great!!!
Thanks again for the support and a big thank you for a great counter application!
Patrick
03-31-2005, 03:36 PM
Thanks for the answer!
Now I created my first empty mysql DB! :blink: (I just created a blank table)
After that I imported the "dbtables.sql" file I found in the install directory.
Then I updated the "config_mysql.php" with the right DB name.
It worked great!!!
Thanks again for the support and a big thank you for a great counter application!
Heh, you performed a manual instal there. All you had to do was specify the mysql database information and the script would have installed itself. However, it all worked out so it doesn't matter.
Powered by vBulletin™ Version 4.0.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.