Click here to Skip to main content
15,902,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone,
The problem is i cant able to retrieve any data from MySQL remote server to the client systems or other systems with that Executable file . So please give me a solution to access MySQL data's from the remote server where i hosted MySQL remotely.


I just want that Executable file which is copy and pasted in other system s and while running that Executable file which is build from remote server application to be executed in client systems with retrieval of data's.

What I have tried:

I tried creating a MySQL server remotely its done by granting privileges but when i compile and build the MySQL application in C# it creates a Executable file and when i copy that Executable file into other systems where those systems doesn't even exist MySQL it is showing me error "unspecified host".
Posted
Updated 10-Sep-17 5:03am
Comments
RickZeeland 10-Sep-17 3:16am    
It is not clear what you want exactly, if you need a Client application it should not be needed to install the MySql server. If you want a MySql server application you could use a WAMP package like WAMPserver https://sourceforge.net/projects/wampserver/ the problem then is that C# is not supported by these kind of packages.
Member 12942988 10-Sep-17 10:24am    
Thank you for your response my question is quite simple that i am actually running MySQL from XAMPP Server so would i able to access phpmyadmin tables from C# or not.
RickZeeland 10-Sep-17 10:59am    
It is easy to access MySql tables from C#, but doing server side code is another thing altogether, then PHP would be a better choice. Here is an example of how to use MySql tables from C#: https://www.codeproject.com/Articles/43438/Connect-C-to-MySQL

1 solution

It is easy to access MySql tables from C#, but doing server side code is another thing altogether, then PHP would be a better choice. Here is an example of how to use MySql tables from C#: Connect C# to MySQL[^]
And another example: Insert, Update, Delete, Display Data in MySQL Using C#[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900