mariadb/Docs
unknown 75e2c2fd99 WL#2050 - CREATE USER and DROP USER and RENAME USER
Added new commands CREATE USER and RENAME USER.
Changed behaviour of DROP USER.
Changed an error messages for the new commands.


Docs/mysqld_error.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
include/mysqld_error.h:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Changed an error code for more general use.
mysql-test/r/grant.result:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Changed test results.
mysql-test/r/grant2.result:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  New test results.
mysql-test/r/ps_1general.result:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Changed test results.
mysql-test/t/grant.test:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Updated old tests for new behaviour of DROP USER.
  It does now implicitly remove all privileges and
  does not fail when privileges are still in place.
  Fixed a typo, which left an user in the database,
  whereby other tests could be confused.
  Added a DROP USER for another test user.
mysql-test/t/grant2.test:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Added new tests for the new features.
sql/share/czech/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/danish/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/dutch/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/english/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/estonian/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/french/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/german/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/greek/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/hungarian/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/italian/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/japanese/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/korean/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/norwegian-ny/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/norwegian/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/polish/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/portuguese/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/romanian/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/russian/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/serbian/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/slovak/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/spanish/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/swedish/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/share/ukrainian/errmsg.txt:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Modified an error message for more general use.
sql/sql_acl.cc:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Added a destructor for the GRANT_TABLE object to get
  rid of a hash_column in cases where a nonsense row was
  read from the privilege tables. Added code to delete
  such an object when it is not entered into the 
  column_priv_hash due to a nonsense row.
  Added function comments to two unmodified functions.
  Replaced mysql_drop_user() by the implementation of all
  of the functions as specified in the Low Level Design.
sql/sql_acl.h:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Added prototypes for new functions.
sql/sql_lex.h:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Added new command codes for CREATE USER and
  RENAME USER.
sql/sql_parse.cc:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Added case clauses for the new commands CREATE USER
  and RENAME USER.
sql/sql_yacc.yy:
  WL#2050 - CREATE USER and DROP USER and RENAME USER
  Added syntax for the new commands CREATE USER and 
  RENAME USER, reworked DROP USER, introduced a new
  'user_list' and 'rename_list', renamed the old 
  'user_list' to 'grant_list'. The difference is that
  'grant_list' contains 'grant_user' (with optional
  IDENTIFIED BY), while 'user_list' contains 'user'.
  Concentrated privilege initializazions into a new
  section 'clear_privileges'.
2004-11-25 21:55:49 +01:00
..
Books
Images The new "Bootstrap" pushed in 4.0 with changeset "joerg:1.2057" is used for building 2004-11-05 10:42:37 +01:00
MySQL-logos
Support texi2html: 2004-10-27 13:44:31 -05:00
To-be-included-in-the-manual
Translations
.cvsignore
bk.txt
glibc-2.2.5.patch
internals.texi - internals.texi will now be part of the source distribution. However, 2003-11-18 16:48:02 +01:00
linuxthreads.txt
Makefile.am Merge kite-hub.kitebird.com:/src/extern/MySQL/bk/mysql-4.0 2004-11-12 14:15:51 -06:00
manual-license-spanish.texi
manual.de.texi
manual.texi
manual_toc.html After merge fixes 2004-05-27 02:50:42 +03:00
mirrors.texi
my_sys.txt
myisam.txt
mysqld_error.txt WL#2050 - CREATE USER and DROP USER and RENAME USER 2004-11-25 21:55:49 +01:00
MySQLEULA.txt
net_doc.txt Attempt to decrease non-English coefficient, 2004-04-15 11:21:08 -05:00
README.1st SHOW PRIVILEGES updated (Bug#3227) 2004-03-24 14:44:31 +01:00
reservedwords.texi
sp-imp-spec.txt Fixed BUG#3259: Stored procedure names are case sensitive. 2004-03-23 12:04:40 +01:00
sp-implemented.txt More corrections of sp-impl-spec.txt and sp-implemented.txt. 2004-01-30 14:02:19 +01:00
Tutorial-MySQL-final.txt

This ALPHA build of MySQL 4.1 for the Windows platform does not come
with an installer. A full-featured installer is being developed for the
4.1 series, and it is scheduled to be released with MySQL 4.1 BETA.

** FRESH INSTALL **

To install MySQL 4.1 as a 'fresh' install, unzip this archive to a directory
of your choice (we suggest 'c:\', which will cause MySQL to be installed in 
a directory named 'mysql' in 'c:\'). You should then follow the directions
in the user manual for starting/stopping MySQL:

(Windows 9x/ME) http://www.mysql.com/doc/en/Win95_start.html
(Windows NT/2000/XP) http://www.mysql.com/doc/en/NT_start.html

** UPGRADE INSTALL **

To install MySQL 4.1 as an upgrade to your current version of MySQL, you need
to perform the following steps:

* Back up your original installation (always a good idea!)

* Unzip the 4.1 archive to a directory that is different than where your
  current MySQL installation is located. (Or, if you do unzip this
  archive into the same location as your existing installation, do NOT
  unpack the 'data' subdirectory. If you unpack the 'data' directory,
  your existing databases will be overwritten.)
  
* Shut down all MySQL server processes/services.

* Remove the Win32 MySQL service (if appropriate for your OS):

	c:\mysql\bin\mysqld-nt --remove
	
* Exit 'WinMySQLAdmin' (if it is running).

* If you unzipped this archive into a directory different than that
  of your existing MySQL installation, copy from the archive all its
  directories and their contents EXCEPT the 'data' directory into the
  existing installation.

* Start the MySQL server with the '--skip-grant-tables' option. Assuming
  your MySQL installation is located at 'c:\mysql', the command looks like
  this:

	c:\mysql\bin\mysqld-opt --skip-grant-tables

  If your installation is located in some other directory, adjust the
  pathname in that command (and in the following commands).
	
* Execute the 'mysql_fix_privilege_tables.sql' script that is located in
  the 'scripts' directory:
  
  	c:\mysql\bin\mysql -f mysql < c:\mysql\scripts\mysql_fix_privilege_tables.sql

  This script performs any actions necessary to convert your grant tables
  to the current format. You may see some "duplicate column" warnings as
  it runs; these can be ignored.
  	
* Stop the server:

	c:\mysql\bin\mysqladmin -u root shutdown
	
* Re-install the Win32 MySQL service (if required):

	c:\mysql\bin\mysqld-nt --install
	
* Re-start the server or service using your normal startup procedure.

** Further Questions **

You can find further information about running MySQL on Windows in the
manual that ships in the 'Doc' subdirectory, or online at the MySQL AB
web site:

http://www.mysql.com/doc/en/Windows.html