PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → Connecting to local MySQL server from WebDEv
Connecting to local MySQL server from WebDEv
Débuté par John Kan, 09 aoû. 2007 10:35 - 3 réponses
Posté le 09 août 2007 - 10:35
Hi
I'm trying to set up a connection from a WebDev 11 analysis to MySQL that is running locally on WinXP.
Apache/PHP/MySQL are all working correctly on my local PC for PHP pages I have coded manually.
When I test the connection it says the connection was successful. I am using the 'Native MySql Access for WebDev or via PHP' connection type.
When I run the project though, I get the following message in my browser.../
' Erreur d'éxécution de la page .
Vous avez appelé la fonction HCreationIfNotFound.
The connection to the database on failed. Message returned by the database: Access denied for user 'webdev'@'localhost' (using password: YES)'
Is there somewhere else the connection parameters are stored that I may be overlooking.
I'm trying to run the PHP-MySQL tutorial supplied so I would assume the coding is all correct.
Any assistance would appreciated.
Thanks
John
Posté le 27 septembre 2007 - 10:51
Hi John,

I connect in the local machine (Windows XP ) with the user root and with no password and I could run the test page

But I have a problem when I try to test the connection this is the error message

Connection to database failed.
---
Unable to connect to 'localhost' database
native MySQL access error.
Error Number = 27

But when I run the project this work fine

Miguel Angel
Posté le 14 mars 2008 - 08:34
Hi ,

I have got the same problem as you had.
On my localhost it works fine, but on the production server it doesn't.
Do you have the solution for me.

Regards,

Robert-Jan
Posté le 17 février 2009 - 08:30
Hello,

sounds like the solution to your problem is in the server configuration (as it's working fine on localhost).

contact your hosting company as well, you may get helpful tips.