PDA

View Full Version : Creating a database


caddickj
04-06-2003, 06:58 PM
Okay... I know I'm missing something really obvious here.

I go into the PHPMyAdmin page and try to create a MySQL DB to use with the PHPBB forum I'm installing.

It says Create New Database, so I type a DB name in there.

I click Create.

I get an error message: Access denied for user: 'xxxxxx@localhost' to database 'phpbb2'

I get confused. I read some help files and documentation. I stay confused. I visit this forum. I wait patiently for someone to slap me upside the head and point out the obvious. :?

Thanks in advance.

caddickj
04-06-2003, 07:31 PM
:oops:

::slaps self::

Database-O-Matic. D'oh!

dbmasters
04-08-2003, 09:16 AM
Just as an option, When I write scripts I often times put the CREATE sql statement into the script, or just make some little one line form in a protected file that will accept SQL, that way I don't even ever have to go into the control panel to create or alter databases.

It also makes it eaiser for anyone down the road who may use the script, as many scripter submit to open source, then the next user (or the next time you use the script) can just click a link and BOOM, the database is all created.

Just a thought...