re: re: Privileges for CREATE TEMPORARY TABLE?

2002-10-08 Thread Victoria Reznichenko

Alec,
Saturday, October 05, 2002, 5:14:59 PM, you wrote:

Since 4.0.2 user must have CREATE TEMPORARY TABLES privilege, it's a
 global level privilege:
   http://www.mysql.com/doc/en/News-4.0.2.html

AdCaQdC Thank you. That page says that To use these, you must have run the
AdCaQdC mysql_fix_privilege_tables script after upgrading. Where can I find this
AdCaQdC script? Is it a perl script, as the other scripts are, or just a MySQL
AdCaQdC script? I do not currently have perl set up - I am running Win2K.

Currently there is no mysql_fix_privilege_tables script for Win :( So,
the most effecient way is to copy files from Unix.


-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
   ___/   www.mysql.com





-
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




re: Privileges for CREATE TEMPORARY TABLE?

2002-10-05 Thread Alec . Cawley


Victoria Reznichenko said:

Since 4.0.2 user must have CREATE TEMPORARY TABLES privilege, it's a
 global level privilege:
   http://www.mysql.com/doc/en/News-4.0.2.html

Thank you. That page says that To use these, you must have run the
mysql_fix_privilege_tables script after upgrading. Where can I find this
script? Is it a perl script, as the other scripts are, or just a MySQL
script? I do not currently have perl set up - I am running Win2K.

  Alec




-
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




re: Privileges for CREATE TEMPORARY TABLE?

2002-10-02 Thread Victoria Reznichenko

Alec,
Tuesday, October 01, 2002, 6:50:31 PM, you wrote:

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

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

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

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

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

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

Since 4.0.2 user must have CREATE TEMPORARY TABLES privilege, it's a
global level privilege:
   http://www.mysql.com/doc/en/News-4.0.2.html


-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
   ___/   www.mysql.com





-
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




re: Privileges for CREATE TEMPORARY TABLE?

2002-10-02 Thread Paul DuBois

At 16:24 +0300 10/2/02, Victoria Reznichenko wrote:
Alec,
Tuesday, October 01, 2002, 6:50:31 PM, you wrote:

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

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

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

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

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

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

Since 4.0.2 user must have CREATE TEMPORARY TABLES privilege, it's a
global level privilege:
http://www.mysql.com/doc/en/News-4.0.2.html

As of 4.0.4, it's also a database level privilege, as is the LOCK TABLES
privilege.  This fixes a problem wherein GRANT ALL ON db_name.*
did not grant a user permission to create temp tables or explicitly
lock tables in the given database.



--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__  ___ ___   __
   /  |/  /_ __/ __/ __ \/ /Victoria Reznichenko
  / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
___/   www.mysql.com





-
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


-
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




Privileges for CREATE TEMPORARY TABLE?

2002-10-01 Thread Alec . Cawley

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