OK guys this is beyond me. I just found out that I can NOT insert into my SCHOOL table when I login into mysql as user nestor on my Mac OS X.
The table is autoincremented. how do I find out what is the next number to be incremented? Nestor :-) Nestor A. Florez >>> "Nestor Florez" <[EMAIL PROTECTED]> 11/13/2003 11:08:58 AM >>> I just realized that if I login to mysql as the user I can insert records. It must be somehting with my code I will try the trace_on It is just amazing that the same code works in my W2K machine and when I ftp it to the Mac OS X only adding to th eschools fails. Thanks, Nestor :-) Nestor A. Florez >>> George Webb <[EMAIL PROTECTED]> 11/13/2003 11:06:29 AM >>> Hi Nestor. What does the mysql_error() report as the exact error message? This could help you identify what kind of access control issue it is. Alternatively, you could try running the same query from the command line (using the mysql client) and see if you get the same error. Also, I'm not really sure about this feature, but it has helped me once or twice: "trace mode". In PHP, you can do ini_set('mysql.trace_mode','on'); and there might be a way to do this also with the mysql client.... Best, George. George Webb [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]