Error in connecting to MySQL via PHP - SOLVED
I got a problem wich eludes me, i have tried to come up with solutions and failed. Thatīs why i turn to you.
Anyway to make a long story short, i installed a webserver (Aprelium Abyss Webserver) and PHP 5.2.5 wich run excelent and fine.
The problem started when i wanted MySQL database integration.
I installed MySQL 5.0.45 for windows on the same machine as the webserver. I got MySQL configured and changed the "root" users password. So far so good.
Now i can not figure out why i can connect to the MySQL server with SQLyog using the "root" user and his password and work with databases and tables just fine, but not via PHP with the standard MySQL connection proceedures with connecting with login credentials and choosing a database. and then when i run SQL query this is whats comes out:
It may be a simple overlook on my part. i have checked that the extensions for php_mysql.dll gets loaded and are in the right location.
Would be much aprechiated for help in this mather.
Is there any other info you need i will suply it when asked.
Edit: Problem solved.
Seems i wasenīt using my brain and a simple typo did hinder me from connecting. so while i get my foot out of my mouth i wish you all a nice weekend.
|All times are GMT. The time now is 02:10 PM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0