Professional Documents
Culture Documents
Released internally in May 1995 First released to the general public at the end of 1996 MySQL founded in 2001 focus on performance and scalability By 2006, there are more than five million active MySQL installations worldwide, with more than 35,000 copies of the software downloaded daily MySQL was acquired by Sun Microsystem in February 2008 Flexibility: available for 12 platforms, including DEC OSF, FreeBSD, IBM AIX, HP-UX, Linux, Mac OS X, Novell NetWare, OpenBSD, QNX, SGI IRIX, Solaris, and Microsoft Windows. Power: performance and scalability are focus. New features were added with new releases. Capability now closer to commercial RDBMS. Full-Text Indexing and Searching Query Caching Replication Security up to the columns
Infinity 2
Infinity
1. Go to http://dev.mysql.com/downloads/ and download the latest version of MySQL 2. Run the gunzip mysql-4.1.9.tar.gz command 3. Run the tar xvf mysql-4.1.9.tar command 4. Change to the mysql-4.1.9 directory
Infinity
6. Run the ./configure command 7. Compile the MySQL code with the make command 8. Run the make install command
9. Change to the scripts directory 10.Run the mysql_install_db --user=mysql script 11.Run the ownership commands:
chown -R root /usr/local/mysql chown -R mysql /usr/local/mysql/var chgrp -R mysql /usr/local/mysql
Infinity 5
1. 2. 3. 4. 5.
Go to http://dev.mysql.com/downloads/ Open Windows Explorer or My Computer and start the MySQL installation In the Welcome screen, click Next to start the installation Accept the default setup type Typical, click Next Click Back to make changes or click Install to continue
Infinity
6. Create a new account or skip sign-in, click Next 7. In the Wizard Completed screen, click Finish 8. In the first screen of the MySQL Server Instance Configuration Wizard, click Next 9. In the Configuration Type screen, select Standard Configuration, click Next
Infinity
10.In the Windows Options screen, accept the default values (do not select the Include Bin Directory in Windows PATH check box), click Next 11.In the Security Options screen, deselect the Modify Security Settings check box, click Next 12.Click Back to change any of the configuration operations or Execute to finish
Infinity 8
1.
For Windows, use the Services window 2. Run the mysqladmin version command For UNIX/Linux systems:
/usr/local/mysql/bin/mysqladmin version
For Windows, change to the C:\Program Files\MySQL\MySQL Server 4.1\bin\ directory and run:
mysqladmin version
Infinity
SHOW databases;
Will show the list of databases in the mysql server
USE mysql;
Use database named mysql
SHOW TABLES;
Will show the list of tables present in the database mysql
DESCRIBE host;
Will show schema details for table host
Infinity 11