Hello
I've just downloaded the latest version of Drupal to use for a website that i wish to create.
Now I'm using host.sk as my provider on a free account.
In the Database section it says:
How can I access my MySQL database?
You can create your db at https://www.host.sk/users/mydb/. Accessing your MySQL database by your PHP scripts use following db address:
MySQL Server - db.host.sk (port 3306)
Where should I find MySQL manual?
My active databases
Database type: MySQL
Database server: db.host.sk
Database name: benmc
Database login: benmc
Date of creation: 28.05.2005
Now i've followed the Drupal Instructions Handbook but it does not seem to work.
The Unsupported database type message is displayed.
In the settings.php file i've changed the following to:
Database URL format:
* $db_url = 'mysql://username:password@localho st/database';
* $db_url = 'pgsql://username:password@localho st/database';
*/
$db_url = 'http://db.host.sk://benmc:*****@localhost/benmc';
$db_prefix = '';
and
$base_url = 'http://benmc.host.sk';
.
Now if i keep the Database URL as
* $db_url = 'mysql://benmc:******@localhost/benmc';
The following message is displayed on my homepage.
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /mnt/storage/users/b/e/n/benmc/includes/database.mysql.inc on line 31