coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: myonlydownfall on August 11, 2005, 08:33:50 PM

Title: Newb Need Help
Post by: myonlydownfall on August 11, 2005, 08:33:50 PM
I created a Data base name and a user name for it , now the thing is i get this

Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:myonl2_myonlydownfall:localhost","myonl2_mod","<PASSWORD HERE>");

PHP $dbh=mysql_connect ("localhost", "myonl2_mod", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("myonl2_myonlydownfall");

Well i dont know if thats right

But the thing  is that when i go through the coppermine installation i get an error which is ...

mySQL could not locate a database called 'myonl2_myonlydownfal' please check the value entered for this

im sure i created the DB under that name and a user ,

can somone please help me out!!!!


Title: Re: Newb Need Help
Post by: Hein Traag on August 11, 2005, 09:06:38 PM
A bit more explanation is in order me thinks.
Like:
- Do you host the site yourself
- Is it hosted on windows or linux
- If hosted by a provider did they provide you with a mysql database or the means to create one yourself

Title: Re: Newb Need Help
Post by: Nibbler on August 11, 2005, 11:11:21 PM
Looks like you are using cPanel, so make sure you actually added the user to the database after creating the user and the database.