Results 1 to 10 of 15
Threaded View
-
14th Sep 2012, 02:06 PM #4Respected Member
You have entered the correct host name, the user name that has full access and the complete database name in the config file??
Check in your cpanel if you have one to match that those are correct.
If you think they are correct then add them to this php script and upload it to your piblic_html folder using ftp or file manager and run it from the command line like this changing all the DB information including localhost if you need .. :Code:http;//yoursite.com/testdb.php
Code:<?php function ss_error($message) { echo $message."<br>"; die(); } // set up database information $ss_dbhost = "localhost" ; $ss_dbuser = "my_uusername"; $ss_dbpass = "my_databasepassword"; $ss_dbname = "my_databasename"; if(!($ss_lnk = mysql_connect($ss_dbhost, $ss_dbuser, $ss_dbpass))) { ss_error("can not connect to MySql using $ss_dbhost using user $ss_dbuser"); return; } if(!mysql_select_db($ss_dbname, $ss_lnk)) { ss_error("can not select database $ss_dbname"); return; } ?>
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Paste 1.0 templete
By KINGTHE_ALI in forum Webmaster DiscussionReplies: 2Last Post: 28th Oct 2012, 04:31 PM -
[Selling] WordPress instalation + Plugin install + Theam install service(free for biginers)
By senseseo in forum Completed TransactionsReplies: 4Last Post: 16th Oct 2011, 02:09 PM -
[Hiring] [Copy-Paste] Job
By viruz99 in forum Completed TransactionsReplies: 5Last Post: 25th Sep 2011, 11:22 AM -
How to copy paste in VPS
By masterlog in forum Server ManagementReplies: 8Last Post: 11th May 2011, 08:37 PM -
Need someone to do Copy/Paste job.
By 3ROk3N in forum Completed TransactionsReplies: 18Last Post: 18th May 2010, 02:28 PM
themaCreator - create posts from...
Version 3.52 released. Open older version (or...