• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

Newbie MySQL question

Willow

New Member
I'm pretty much a newbie with installing php scripts. I know you can have several scripts under one database, but do you have to make a different user for each script, or can I use the same user under the same database for all the scripts I want to use?
 
Ok, thanks...I got another question though. How do you set up different table prefix? lol, sorry, like I said, I'm a newbie :eek:
 
It's not really something you set, any time you're asked for a table name, prefix the table name with something. You can't have 2 tables in the same database with the same name, so you have to do what you have to to make the table names diferent.
 
An sample syntax to creating a table would be:

create table myprefix_table1(
field1 int unsigned,
field 2 text
)
 
Back
Top