Oracle 5.0 Reference Manual page 151

Table of Contents

Advertisement

+---------------------------+
|
Tables
+---------------------------+
| columns_priv
| db
| func
| help_category
| help_keyword
| help_relation
| help_topic
| host
| proc
| procs_priv
| tables_priv
| time_zone
| time_zone_leap_second
| time_zone_name
| time_zone_transition
| time_zone_transition_type |
| user
+---------------------------+
shell>
bin/mysql -e "SELECT Host,Db,User FROM db" mysql
+------+--------+------+
| host | db
| user |
+------+--------+------+
| %
| test
|
| %
| test_% |
+------+--------+------+
12. There is a benchmark suite in the
that you can use to compare how MySQL performs on different platforms. The benchmark suite is
written in Perl. It requires the Perl DBI module that provides a database-independent interface to
the various databases, and some other additional Perl modules:
DBI
DBD::mysql
Data::Dumper
Data::ShowTable
These modules can be obtained from CPAN (http://www.cpan.org/). See also
"Installing Perl on
Unix".
The
sql-bench/Results
databases and platforms. To run all tests, execute these commands:
shell>
cd sql-bench
shell>
perl run-all-tests
If you do not have the
other than the source RPM. (The source RPM includes the
In this case, you must first install the benchmark suite before you can use it. There are separate
benchmark RPM files named
and data.
If you have a source distribution, there are also tests in its
example, to run auto_increment.tst, execute this command from the top-level directory of your
source distribution:
shell>
mysql -vvf test < ./tests/auto_increment.tst
The expected result of the test can be found in the
13. At this point, you should have the server running. However, none of the initial MySQL accounts
have a password, and the server permits permissive access to test databases. To tighten security,
follow the instructions in
Unix Postinstallation Procedures
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sql-bench
directory contains the results from many runs against different
directory, you probably installed MySQL using RPM files
sql-bench
mysql-bench-VERSION.i386.rpm
Section 2.18.2, "Securing the Initial MySQL
131
directory (under the MySQL installation directory)
sql-bench
that contain benchmark code
subdirectory that you can run. For
tests
./tests/auto_increment.res
Accounts".
Section 2.22.1,
benchmark directory.)
file.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents