Connecting to a Dreamhost MySQL database

Connecting to a Dreamhost MySQL database

Posted by: mkeith
Posted on: 2004-11-15 17:16:00

I have set up a database on Dreamhost with a host name and a couple of users

What I need to know is how do I connect to the database externally.

I am developing a small application that needs to access this database from a desktop PC. There will be several users and they are spread out all over the place so a centralised DB is the answer.

I will be using the MySQL SDK for DB access to be run on a Windows/Intell box.

I don't want to use PHP and HTML to do this because that would mean I have to learn PHP and I already know C++ and I don't want to spend more than a week or two doing this.

Thank you in advance.

Re: Connecting to a Dreamhost MySQL database

Posted by: will
Posted on: 2004-11-15 22:20:00

You would need to allow the IP address, hostname, or a range of IPs or hostnames to access a particular database user. You can do this from the panel.

Re: Connecting to a Dreamhost MySQL database

Posted by: dphiffer
Posted on: 2004-12-31 11:32:00

Strangely, I can't seem to get my dynamic DNS'd hostname to work. Using the IP address works though. If I ping the dynamic hostname it resolves correctly, but for some reason MySQL doesn't like it.

Re: Connecting to a Dreamhost MySQL database

Posted by: MajorGeek
Posted on: 2005-01-07 10:33:00

Maybe you could use the approach of connecting MS Access tables to MySQL with ODBC: http://ykfp.org/ODBC/ Now I distribute Access forms, queries and routines to my users, but have the main data tables pulled into Access at run time from MySQL.

Tags: db accessmysql databaselearn phpdreamhosthost namesdkhtml