Hi All,

After much probing  about I've finally got MySQL working and started, but I
can't create a database.  I am using:

  <?
   $conn=mysql_connect("$hostname","$username","$password")
   or die("Unable to connect to MySQL"); if($conn){print "Connected
OK<BR>";}

   mysql_create_db("counterdb",$conn)
   or die("Unable to create database!");
  ?>

The script connects OK but I am unable to create a database.  Is there a
setting that needs to be enabled anywhere to allow a user to do this?  I've
tried connecting using both the admin login and the account login, but both
produce an error despite being valid.

Regards,


Rick


_______________________________________________
cobalt-developers mailing list
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-developers

Reply via email to