14.6 File Location

During the MySQL installation, the following files are unpacked or created by YaST:

MySQL Component

Default Location in OES

MySQL daemon for start, stop, and restart commands

/etc/init.d/mysql

Configuration files

/etc/my.cnf
/etc/mysqlaccess.conf

Database files

/var/lib/mysql

Man pages

/usr/share/man/man1

Documentation (MySQL Readme)

/usr/share/doc/packages/mysql

Log file

/var/lib/mysql/mysqld.log

The MySQL log file can also be accessed via a hard link from /var/log/mysqld.log.

Software

Some of the software components might not appear in this location until after you enable the service.

/usr/bin/mysql
/usr/bin/mysqladmin
/usr/bin/mysqlbinlog
/usr/bin/mysqlbug
/usr/bin/mysqlcheck
/usr/bin/mysqld_multi
/usr/bin/mysqld_safe
/usr/bin/mysqldump
/usr/bin/mysqldumpslow
/usr/bin/mysql_fix_extensions
/usr/bin/mysql_fix/privilege_tables
/usr/bin/mysqlimport
/usr/bin/mysql_install_db
/usr/bin/mysql_secure_installation
/usr/bin/mysqlshow
/usr/bin/mysqlupgrade
/usr/bin/my_print_defaults
/usr/bin/myisamcheck
/usr/bin/myisam_ftdump
/usr/bin/myisamlog
/usr/bin/myisampack