What privileges do I need for creating a TEMPORARY table? I seem to have
locked myself out of this - and yet I can create permanent tables, which
seems the wrong way round.

N:\>mysql -ualec
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1121 to server version: 4.0.2-alpha-max-nt

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> show grants for "alec" ;
+------------------------------------------------+
| Grants for alec@%                              |
+------------------------------------------------+
| GRANT ALL PRIVILEGES ON 'test'.* TO 'alec'@'%' |
| GRANT ALL PRIVILEGES ON 'alec'.* TO 'alec'@'%' |
+------------------------------------------------+
2 rows in set (0.00 sec)

mysql> use alec ;
Database changed
mysql> create table perm (col int) ;
Query OK, 0 rows affected (0.02 sec)

mysql> create temporary table temp (col int) ;
ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)
mysql>



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to