Jump to content


Photo

Help for a NOOB!


  • Please log in to reply
6 replies to this topic

#1 SFCMert

SFCMert
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 10 July 2006 - 04:55 AM

I just installed PHPNuke and tried to start a database and MySQL.  When i try to goto admin.php it states:

There seems to be a problem with the MySQL server, sorry for the inconvenience.

We should be back shortly

Ive named the DB and added me as a user and then associated to DB, but there is this string on my page:

Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:sfcmert_css:localhost","sfcmert_sfcmert","<PASSWORD HERE>");
PHP $dbh=mysql_connect ("localhost", "sfcmert_sfcmert", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("sfcmert_css");

Can someone assist me in getting this fixed, THANKS!

#2 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 10 July 2006 - 04:48 PM

I'm not sure I understand... you're not getting MySQL errors directly?
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.

#3 SFCMert

SFCMert
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 10 July 2006 - 05:51 PM

I get the first error when I try to log into my PHPAdmin, I get the second on my CPanel in the MySQLDB screen after creating DB, me as a user and then then trying to make myself all action user fro DB.

#4 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 10 July 2006 - 06:11 PM

Yeah, but none of these are MySQL errors from the DB directly...
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.

#5 SFCMert

SFCMert
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 10 July 2006 - 06:46 PM

It is when I am administering the MySQLDB through my CPanel.

I am soory to seem liem such a noob, but I am...

#6 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 11 July 2006 - 08:18 AM

Well, with so little info, it's hard to make any suggestions...
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.

#7 SFCMert

SFCMert
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 12 July 2006 - 02:51 AM

Thanks for your tries...the strings were there just to inform me of perl and PHP commands.  I just had to install the tables in my DB.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users