How to connect to a database

You can connect to databases through administration applications or scripts.

Details for connecting to MySQL

  • Login name: something.customer ID
  • Database name: something.customer ID
  • When login to PhpMyAdmin, using your login name (with a dot).
  • Sample Connection Script:
    $connect = mysql_connect("localhost", "myDB.ID", "**password**");

Details for connecting to PostgreSQL

  • Login name: something.customer ID
  • Database name: something.customer ID
  • Sample Connection Script:
    $connect = pg_connect("host=pgsql.vas-hosting.cz dbname=myDB_ID user=myDB_ID password=**your password**");

Remote login to MySQ

By default, remote login to MySQL is disabled. If necessary, write to us and we set your remote login.

Did this article help you?

Similar articles