faqts : Computers : Programming : Languages : PHP : Database Backed Sites : MySQL

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 3 people (67%) answered Yes
Recently 1 of 2 people (50%) answered Yes

Entry

Why mysql_query, when I tries to do a query like "CREATE TABLE ..." or "GRANT ...", works at home (Lynx & mySQL 3.22.26a),not at work (IE5 & 3.22.32)?

Jul 15th, 2002 22:39
Justin Dalrymple, Ferdinando Simonetti,


Chances are you have permissions setup which limit your ability to 
create tables and grant priviledges.
Log into MySQL using the root user and use the 'mysql' database. Then, 
check to see that the user you are attempting to create/grant with has 
permission to do so in the 'user' table. The columns that need to be 
set to 'Y', for your two actions, are;
Create_priv
...and...
Grant_priv