Professional Documents
Culture Documents
3-2 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL Server Distributions
Binary Source
Precompiled
Self-compile
Available per
Release
Operating Systems
Latest Code
Linux
Windows
Mac OS X
Available
Immediately
Oracle Solaris
3-3 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL Binary Distributions
Binary Distributions
Linux Windows
RPM Files Complete
TAR Files No-install
3-4 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL Source Distributions
3-5 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL RPM Installation Files for Linux
shared-
server
compat
Distribution-
independent
embed-
client
ded
devel
RPM ndb
Packages
debug-
test
info
Distribution-
specific
shared source
3-6 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Linux MySQL RPM Installation Process
3-7 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Linux MySQL Server Installation Directories
mysql
my.cnf my.cnf mysqld.log
(startup script)
3-8 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Starting the MySQL Server on Linux
Starts Starts
Starts
multiple
mysqld_multi
Starts multiple
3-9 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Stopping the MySQL Server on Linux
C:\Program D:<Windows_version-
Files\MySQL\MySQL Server dependent path>\MySQL
<version> Server <version>
<database
mysqld.exe
directories>
<other client
<log files>
programs>
Server Service
• Start manually. • Install manually.
• Stop manually. • Start/stop manually
or automatically.
• Use GUI.
• Example
MySQL
MySQL
data
Data
mysql
mysql Tables in DB
City
test
test
City
Country
Country
world
world Country.frm
Country
Language
Country.frm
Data Directory
• datadir option
Server
Network
• Port
• Socket Group Name
• Named Pipe (Linux)
• Shared
memory
Log Files
• datadir