• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Trying to set up PHP stuff for the first time. Need help

BadNewsBears

Diamond Member
I am using phpmyadmin. Great utility from what I hear. Everytime I try to open up any files in the phpmyadmin folder in my apache root, they say

""Welcome to phpMyAdmin 2.3.3pl1


Error

MySQL said:


Can't connect to MySQL server on 'localhost' (10061)""

Well phpmyadmin is kinda supposed to make a database, isnt it? Well when I go to any onther php file anywhere on my server I get
""
Warning: Failed opening '//catalog/includes/data/rates.php' for inclusion (include_path='.;C:/ServerCriticalPrograms/PHPDEV/php/includes;C:/ServerCriticalPrograms/PHPDEV/php/class') in c:\servercriticalprograms\phpdev\www\store\catalog\admin\includes\include_once.php on line 4

Warning: Failed opening 'includes/languages/english/' for inclusion (include_path='.;C:/ServerCriticalPrograms/PHPDEV/php/includes;C:/ServerCriticalPrograms/PHPDEV/php/class') in c:\servercriticalprograms\phpdev\www\store\catalog\admin\includes\include_once.php on line 4
Unable to connect to database server!""""""

Anyone know what could be wrong?
 
Looks to me that PHPMyAdmin is having a problem connecting to MySQL. If that is the case, first make sure MySQL is running (should run on port 3306 by default - if you can telnet to port 3306 on that machine you should be OK). Next, go to your PHPMyAdmin folder and open the config.inc.php file in a text editor such as notepad. Now, go down to the Server Configuration area and look at the various settings there. Make sure the correct username/password are set. If you did a fresh install of MySQL, the username should be 'root' and the password should be blank. I'm guessing your username/password info in that file are incorrect....so give that a try and let us know if that fixed the problem or not 🙂
 
Back
Top