Customer Center

Quickfinder

Technical support

  • Phone: +420 776 133 789
  • Skype: karel.dytrych
  • ICQ: 259-191-840
  • Email: support@vas-hosting.cz

FAQ: MySQL database

Creating, deleting databases

Whole administration of MySQL databases takes place in Customer Center in section My Services / Databases.

Back to F.A.Q. list

Connecting to MySQL database from PHP scripts

MySQL server address is localhost.

Basically you cant connect only from our server. If you're interested in connecting from arbitrary computer you'll have to write us email and we will give you access from other computers.
You have datavase ebchod_3" you can connect by using this script

<?php

$db = mysql_connect("localhost", "obchod.3", "tajné_heslo");
mysql_select_db("eobchod_3", $db);
mysql_query("SET NAMES utf8");

?>

Code explation

  • Connecting to our db (server address, user, password)
  • Selecting our database "eobchod-3"
  • Choosing right coding page

Back to F.A.Q. list

Changing password

Password is easily changeable in Customer Center, on screen with database list.By clicking on ,,Change Password" button you'll get field in which you'll write new password.We recommend you to change password only in Customer Center. You can block your database by changing password with other ways.

Back to F.A.Q. list

Connecting to DB using phpMyAdminu

phpMyAdmin can be found on address mysql.vas-hosting.cz. You can connect with your user name (for example "DBNAME.client-ID" e.g. "eobchod.3") and your password.

Back to F.A.Q. list

Deleting your database

Delete your database only in Customer Center.In section My Services / Databases on screen with database list. After clicking the delete button there is no way how to recover your DB's (only from automatic backups).

Back to F.A.Q. list

Olark Livehelp