jonny1

Registered
May 7, 2004
3
0
151
Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:jonny1_forums:localhost","jonny1_j","<PASSWORD HERE>");
PHP $dbh=mysql_connect ("localhost", "jonny1_j", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("jonny1_forums");

i get this error when i create a mysql database and username..

Warning: main(./sources/functions.php): failed to open stream: No such file or directory in /home/jonny1/public_html/forums/index.php on line 120

when i try to manually install invisionpower board i get that error after its a ll complete

can someone PLEASE help me.
 

eazistore

Well-Known Member
Nov 7, 2003
69
0
156
Singapore
Originally posted by jonny1
Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:jonny1_forums:localhost","jonny1_j","<PASSWORD HERE>");
PHP $dbh=mysql_connect ("localhost", "jonny1_j", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("jonny1_forums");

i get this error when i create a mysql database and username..

Warning: main(./sources/functions.php): failed to open stream: No such file or directory in /home/jonny1/public_html/forums/index.php on line 120

when i try to manually install invisionpower board i get that error after its a ll complete

can someone PLEASE help me.
Hi jonny,

I'm not sure if this helps.

$dbhost = "localhost";
$dbuname = "jonny1_user";
$dbpass = "password";
$dbname = "jonny1_data";


Most of the time is due to you have a jonny1_pass field wrong.
It should be password without the user name (jonn1_) in it.

And also lastly, check for type error in your config file as well.

Rgds,
Vincent
http://www.eazistore.com