Jump to content

Link to database cannot be established


yuda

Recommended Posts

saya daftar hosting di 000webhost, semua proses sudah saya lakukan. baik itu merubah database di setting.inc.php tapi tetap aja tidak bisa. saya sudah baca posting yang lalu juga. ini file settingnya
<?php
define('_DB_SERVER_', 'localhost');
define('_DB_TYPE_', 'MySQL');
define('_DB_NAME_', 'presta');
define('_DB_USER_', 'yunus');
define('_DB_PASSWD_', '[Nobody else than you needs to know that - Edit by Patric]');
define('_DB_PREFIX_', 'ps_');
define('__PS_BASE_URI__', '/prestashop/');
define('_THEME_NAME_', 'prestashop');
define('_COOKIE_KEY_', 'CdZx5KJ41hxjyP7SnD9YaxKnOqYJgj5sSgoLw2r2X0QzC0SR5rnCEssL');
define('_COOKIE_IV_', 'QSZKmhJy');
define('_PS_CREATION_DATE_', '2009-06-27');
define('_PS_VERSION_', '1.1.0.5');
?>

please help me......

9502_H9aBDjZbxvSxgJprdVY4_t

Link to comment
Share on other sites

As far as i know, db server in 000webhosting aren't localhost, you have to check in your cpanel or phpmyadmin. Lots of forum regarding this problems are exists, usually your db server will look like this "mysql1.000webhost.com". Try to check again.

You can try to read this forum, hope it helps : http://www.000webhost.com/forum/customer-assistance/130-please-help-could-not-connect-mysql-server.html

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...