PDA

View Full Version : Creating mySQL db with a php script


chaosAdmin
01-21-2002, 10:43 PM
Im trying to create a database using a php script and not through the control panel but it wont create the db and returns no errors to the page. I know we use "localhost" for the connect to host, but what about the username and password, do we use our ftp login or what. Cause even if i create a user through the control panel and use that the script still wont create the db.

alan92rttt
01-23-2002, 04:27 PM
hostrocket probably did not give you the right to create DB's. I'm betting you HAVE to use the control pannel.

Reaver
01-24-2002, 11:57 AM
You have to use it to create DBs and usernames.. or you could use PHPMyAdmin which is installed on your server as well. You can populate the tables with a dumpfile though.

Doppelbock
01-27-2002, 05:28 PM
How can I access PHPMyAdmin on my server? I checked all my directories and don't see anything related to it.

Mary B.
02-23-2002, 04:18 PM
Go to your control panel and click the MySQL Manager link.

Doppelbock
02-24-2002, 03:11 AM
Whoops! I thought it was an extra front-end that I had to install. I have used that part of the Control Panel before, just didn't realize that it was PHPMyAdmin.