Jump to content

Accessing PHP MySQl Application on client pC


shiningworld_4u

Recommended Posts

HI!

we have developed a supply chain system which offers administration and reporting as web application and for POS it uses a desktop application. we developed web application using Mysql and pHp, and for desktop application we have used C# 2008.

 

We have tested the application on our workstaion, by installing it on one workstation and installing the desktop application on other pc, by configuring the config file as follow, and allowing remote connection on mysql, we can access application from client pc.

 

<?xml version="1.0" encoding="utf-8" ?>
<configuration>

  <appSettings>
    <add key="Connstring" value="SERVER=server;DATABASE=ac;UID=root;PASSWORD=supplychain;"/>
  </appSettings>


</configuration>

 

Our client has Server 2003 OS, and client have XP. Now we can access application on server, but when try to access it from client through desktop application it gives the following error.

 

Access Denied for user 'root'@'CL1' (using password = Yes)

 

where server name is "Server" and client name is "CL1".

 

Any help will be much appreciated.

 

Thanks in advance.

 

Link to comment
Share on other sites

 

The documentation provided on above link, helps me a lot to figure out the problem.

Issue is very simple, during allowing remote connection, in mysql.user table, query inserting wrong md5 code in password field.

 

just replace the password code with correct one and issue gone.

 

Thanks to all you guyz agian.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.