Closed Thread
Results 1 to 5 of 5

Thread: Help connect database

  1. #1
    toan878696 is offline x10Hosting Member toan878696 is an unknown quantity at this point
    Join Date
    Dec 2010
    Posts
    3

    Help connect database

    Code of configure.php file. But loading webpage view"Database Error: Unable to connect to the database:Could not connect to MySQL". Can you help me?

    <?php
    class JConfig {
    var $offline = '0';
    var $editor = 'tinymce';
    var $list_limit = '20';
    var $helpurl = 'http://help.joomla.org';
    var $debug = '0';
    var $debug_lang = '0';
    var $sef = '1';
    var $sef_rewrite = '0';
    var $sef_suffix = '1';
    var $feed_limit = '10';
    var $feed_email = 'author';
    var $secret = 'sHXuooOT15cS2Egf';
    var $gzip = '1';
    var $error_reporting = '-1';
    var $xmlrpc_server = '0';
    var $log_path = 'home/dmt/logs';
    var $tmp_path = 'home/dmt/tmp';
    var $live_site = '';
    var $force_ssl = '0';
    var $offset = '0';
    var $caching = '0';
    var $cachetime = '2';
    var $cache_handler = 'file';
    var $memcache_settings = array();
    var $ftp_enable = '0';
    var $ftp_host = 'datminhthong.com.vn';
    var $ftp_port = '21';
    var $ftp_user = 'dmt';
    var $ftp_pass = '';
    var $ftp_root = 'home/dmt';
    var $dbtype = 'mysql';
    var $host = 'localhost';
    var $user = 'dmt_dmt';
    var $password = '';
    var $db = 'dmt_datminhthong';
    var $dbprefix = 'mtd_';
    var $mailer = 'mail';
    var $mailfrom = 'toan8786@gmail.com';
    var $fromname = 'Dat Minh Thong company';
    var $sendmail = '/usr/sbin/sendmail';
    var $smtpauth = '0';
    var $smtpsecure = 'none';
    var $smtpport = '25';
    var $smtpuser = '';
    var $smtppass = '';
    var $smtphost = '';
    var $MetaAuthor = '0';
    var $MetaTitle = '0';
    var $lifetime = '15';
    var $session_handler = 'database';

    var $sitename = 'DAT MINH THONG International Media company limited';
    var $MetaDesc = 'Dich vu thiet ke website chuyen nghiep hang dau Vietnam, chuyen cung cap cac giai phap thiet ke, lap trinh website tinh va dong, cung cap ten mien va cho thue may chu cung nhu quang ba website';
    var $MetaKeys = 'Thiet ke web, thiet ke website, thiết kế trang web, thiet ke trang web, quang ba website, website design, web design, hosting, domain, dang ky ten mien, cho thue may chu, quang ba web, vietnam hosting, vietnam domain, vietnam host, web tinh, web dong, cms, shopping cart, quan tri tin tuc, thiết kế web, thiết kế website, quảng bá web, cho thuê máy chủ, đăng ký tên miền, lap trinh web, lập trình web, Thiết kế Catalogue, Thiết kế Brochure, Thiết kế Logo, thiet ke logo, thiet ke Catalogue, thiet ke Brochure, Thiết kế Catalog, thiet ke Catalog';
    var $offline_message = 'This site is down for maintenance. Please check back again soon.';
    }
    ?>
    Last edited by Livewire; 02-09-2011 at 09:18 PM.

  2. #2
    Livewire's Avatar
    Livewire is offline Abuse Compliance Officer Livewire is a glorious beacon of lightLivewire is a glorious beacon of light
    Join Date
    Jun 2005
    Location
    Behind a keyboard.
    Posts
    8,995

    Re: Help connect database

    Please update your cpanel and database passwords as you just made them public on a public forum for the last 15 minutes or so.

    Down tot he real issue though I'm not actually sure what's causing it, I just thought I should warn you that your passwords are now compromised.


    TOS breakers will be suspended regardless of race, creed, national origin, hair color, or favorite food. Thanks for your understanding!

  3. #3
    toan878696 is offline x10Hosting Member toan878696 is an unknown quantity at this point
    Join Date
    Dec 2010
    Posts
    3

    Re: Help connect database

    Quote Originally Posted by Livewire View Post
    Please update your cpanel and database passwords as you just made them public on a public forum for the last 15 minutes or so.

    Down tot he real issue though I'm not actually sure what's causing it, I just thought I should warn you that your passwords are now compromised.
    Can you log on hosting and config for me. Can you help me?

    https://boru.x10hosting.com:2083
    user:dmt
    pass:NO.

    Thanks all
    Last edited by Livewire; 02-09-2011 at 11:39 PM.

  4. #4
    Livewire's Avatar
    Livewire is offline Abuse Compliance Officer Livewire is a glorious beacon of lightLivewire is a glorious beacon of light
    Join Date
    Jun 2005
    Location
    Behind a keyboard.
    Posts
    8,995

    Re: Help connect database

    Again with posting the password; DO NOT EVER POST PASSWORDS. EVER. It doesn't matter that I've been around since june of 2005 - you are not allowed to allow others to access your account. Should someone use that password and access your account for something illegal, such as putting warez on the account, -you- get held responsible.


    All I can advise -again- is to update your cpanel password, and your mysql password, as they now have been compromised -twice-. Once you've done that, see if the problem fixes itself - it wouldn't be the first time a password reset fixed the problem.


    TOS breakers will be suspended regardless of race, creed, national origin, hair color, or favorite food. Thanks for your understanding!

  5. #5
    toan878696 is offline x10Hosting Member toan878696 is an unknown quantity at this point
    Join Date
    Dec 2010
    Posts
    3

    Re: Help connect database

    Quote Originally Posted by Livewire View Post
    Please update your cpanel and database passwords as you just made them public on a public forum for the last 15 minutes or so.

    Down tot he real issue though I'm not actually sure what's causing it, I just thought I should warn you that your passwords are now compromised.
    I configed user and password, but loading view"Database Error: Unable to connect to the database:Could not connect to MySQL"

    Can you help me guide update cpanel?

    Thanks all

    ---------- Post added at 01:30 PM ---------- Previous post was at 05:47 AM ----------

    Nobody help me!!

Closed Thread

Similar Threads

  1. Replies: 0
    Last Post: 12-17-2010, 04:38 PM
  2. Replies: 4
    Last Post: 04-18-2010, 12:50 PM
  3. Replies: 2
    Last Post: 03-17-2010, 04:51 PM
  4. Replies: 1
    Last Post: 10-08-2009, 08:08 AM
  5. Replies: 0
    Last Post: 11-22-2008, 05:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers