Hello,

I'm creating a project in C# that requires me to use access a remote MYSQL server..

I have an online hosting account, that is hosting the database HOWEVER, i don't know how to access it.. In the 'Remote MYSQL' part of the site it just has this:

192.168.1.%

So would I connect like this:

MySqlConnection connection = new MySqlConnection("Server=http://192.168.1.%;Uid=labso_phil;password=");
            MySqlCommand command = connection.CreateCommand();

I'm confused :(

In that section you have to add your own ip address. In the connection code you just use the ip address of your server.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.