mysqlbug
— Generate Bug Report
257
Specify the temporary location.
4.4.4.
mysqlbug
— Generate Bug Report
This program enables you to generate a bug report and send it to Oracle Corporation. It is a shell script
and runs on Unix.
The normal way to report bugs is to visit
http://bugs.mysql.com/
, which is the address for our bugs
database. This database is public and can be browsed and searched by anyone. If you log in to the
system, you can enter new reports. If you have no Web access, you can generate a bug report by
using the
mysqlbug
script.
mysqlbug
helps you generate a report by determining much of the following information automatically,
but if something important is missing, please include it with your message.
mysqlbug
can be found
in the
scripts
directory (source distribution) and in the
bin
directory under your MySQL installation
directory (binary distribution).
Invoke
mysqlbug
without arguments:
shell>
mysqlbug
The script will place you in an editor with a copy of the report to be sent. Edit the lines near the
beginning that indicate the nature of the problem. Then write the file to save your changes, quit the
editor, and
mysqlbug
will send the report by email.
4.4.5.
mysql_fix_privilege_tables
— Upgrade MySQL System Tables
Some releases of MySQL introduce changes to the structure of the system tables in the
mysql
database to add new privileges or support new features. When you update to a new version of MySQL,
you should update your system tables as well to make sure that their structure is up to date. Otherwise,
there might be capabilities that you cannot take advantage of.
mysql_fix_privilege_tables
is an older script that previously was used to uprade the system
tables in the
mysql
database after a MySQL upgrade.
Note
As of MySQL 5.0.19,
mysql_fix_privilege_tables
is superseded
by
mysql_upgrade
, which should be used instead. See
Section 4.4.9,
“
mysql_upgrade
— Check Tables for MySQL Upgrade”
.
Before running
mysql_fix_privilege_tables
, make a backup of your
mysql
database.
On Unix or Unix-like systems, update the system tables by running the
mysql_fix_privilege_tables
script:
shell>
mysql_fix_privilege_tables
You must run this script while the server is running. It attempts to connect to the server running on the
local host as
root
. If your
root
account requires a password, indicate the password on the command
line like this:
shell>
mysql_fix_privilege_tables --password=root_password
The
mysql_fix_privilege_tables
script performs any actions necessary to convert your system
tables to the current format. You might see some
Duplicate column name
warnings as it runs; you
can ignore them.
After running the script, stop the server and restart it so that any changes made to the system tables
take effect.
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...