Copyright (C) 2000-2012 |
GNU Info (mysql.info)Upgrading-from-3.21Upgrading from Version 3.21 to Version 3.22 ------------------------------------------- Nothing that affects compatibility has changed between Version 3.21 and 3.22. The only pitfall is that new tables that are created with `DATE' type columns will use the new way to store the date. You can't access these new fields from an old version of `mysqld'. After installing MySQL Version 3.22, you should start the new server and then run the `mysql_fix_privilege_tables' script. This will add the new privileges that you need to use the `GRANT' command. If you forget this, you will get `Access denied' when you try to use `ALTER TABLE', `CREATE INDEX', or `DROP INDEX'. If your MySQL root user requires a password, you should give this as an argument to `mysql_fix_privilege_tables'. The C API interface to `mysql_real_connect()' has changed. If you have an old client program that calls this function, you must place a `0' for the new `db' argument (or recode the client to send the `db' element for faster connections). You must also call `mysql_init()' before calling `mysql_real_connect()'! This change was done to allow the new `mysql_options()' function to save options in the `MYSQL' handler structure. The `mysqld' variable `key_buffer' has changed names to `key_buffer_size', but you can still use the old name in your startup files. automatically generated by info2www version 1.2.2.9 |