Problem in CPanel adding user to database

pobox300

Registered
Apr 1, 2002
1
0
301
In the user end of CPanel a database can be created without a problem, however when a user is created and you try to ad that user to the database it fails.

In CPanel I get this:

Connection Strings
Perl $dbh = DBI-&connect(&DBI:mysql:hostus_forum:localhost&,&hostus_hostus&,&&PASSWORD HERE&&);
PHP $dbh=mysql_connect (&localhost&, &hostus_hostus&, &&PASSWORD HERE&&) or die ('I cannot connect to the database.');
mysql_select_db (&hostus_forum&);
JDBC (may not be avalible) &%@ page import=&java.sql.*& %&
Connection connection = null;
Class.forName(&org.gjt.mm.mysql.Driver&).newInstance();
connection = DriverManager.getConnection(
&jdbc:mysql://localhost/hostus_forum?user=hostus_hostus&password=&PASSWORD HERE&&);


Has anyone else had this same problem, and if yes, what was used to workaround it.

Thanks in advance.
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
316
Nothing's wrong. The user's been created. All these lines are just telling you how to use the db for the newly created user in perl, php and java.