Questions tagged [mysql]

MySQL is an open-source database owned by Oracle. ServerFault topics include how to run the server. For more MySQL specific questions like backup/restore/recovery/configuration, dba.stackexchange.com is probably a better home.

MySQL is a relational database management system (RDBMS) that runs as a server providing multi-user access to a number of databases. MySQL is officially pronounced /maɪˌɛskjuːˈɛl/ ("My S-Q-L"), but is often pronounced /maɪˈsiːkwəl/ ("My Sequel"). It is named for My, the daughter of Michael Widenius (the original developer of MySQL)

The MySQL development project has made its source code available under the terms of the GNU General Public License, as well as under a variety of proprietary agreements. MySQL was originally owned and sponsored by a single for-profit firm, the Swedish company MySQL AB.

MySQL has changed ownership when Sun purchased MySQL in Janaury 2008 for $1B. Some 15 months later, before the ink could fully dry, Oracle bought Sun. This made MySQL a subsidiary of the Oracle Corporation.

Ever since Oracle has stepped into the picture, they have made good on their promises to make steady strides in MySQL development, which have come to fruition heretofore by means of better performance and configurability. However, older bugs still exist in MySQL, which Oracle has fixed fast enough for many in the MySQL community.

In light of this, and in keeping with spirit of open source liberty and freedom, forks of MySQL have surfaced in the Open Source DB World as viable alternatives:

MySQL can run on multiple platforms (32-bit and 64-bit)

  • Linux (Redhat Enterprise, Oracle Enterprise, Generic, Linux6 as for 5.5.17)
  • Sun Solaris
  • Mac OS X
  • Free BSD
  • Microsoft Windows
  • Source Code

MySQL features the use of several storage engines

Each Storage Engine has Distinct Properties that make efficient usage of data depending on

  1. Read Performance
  2. Write Performance
  3. Storage Requirements
  4. Memory Utilization
  5. Tuning the Engine Settings for
    • Internal Use
    • Multiple CPUs
    • OS Usage

For example, InnoDB has undergone a facelift which now allows it to take advantage of multiple CPU architectures. It was first introduced in MySQL 5.1.38 InnoDB Plugin. Those changes have now been fully incorporated in MySQL 5.5's InnoDB (Note: Percona Server already had these enhancements in 5.0 and 5.1. Oracle is nicely catching up). The necessary options have default settings that must be tuned to engage multicore activity.

Other third party storage engines have been used in MySQL including:

CLOUD DATABASES

Xeround Cloud Service Offers the XEROUND Storage Engine. It is ACID-compliant and a Whitepaper about it was released Feb 2012. The three storage engines supported are : XEROUND, MyISAM, and MEMORY.

8677 questions
3
votes
2 answers

MySQL setup for High Connections, High Writes

My box is pegging out. I'm trying to setup a MySQL box running for: 3000 connections (3 workers for 1000 boxes) (box maxes out at 700 connections, already) Heavy Writes Current Setup: AWS High-CPU Extra Large Instance (c1.xlarge) Ubuntu…
Justin
  • 141
  • 1
  • 4
3
votes
1 answer

Failed to connect to MySQL at localhost

I recently installed MySQL on my machine using MySQL installer. I am using it as part of an Apache Tomcat server I'm running on localhost. I linked the database to Netbeans and everything was working fine. A couple of weeks ago I accidentally shut…
Brian Byrne
  • 31
  • 1
  • 1
  • 2
3
votes
1 answer

How to upgrade percona mysql on debian squeeze

Was running an apt upgrade and The following packages have been kept back: libmysqlclient18 percona-server-client-5.5 percona-server-server-5.5 I'm currently running percona mysql 5.5.15-55-log Trying sudo apt-get install percona-server-server-5.5…
Poe
  • 321
  • 1
  • 5
  • 18
3
votes
2 answers

MySQL 5.5 InnoDB = OFF?

We run a server with MySQL 5.5. 95% of the tables are set to the InnoDB engine. However whenever I look at the my.ini file (using the MySQL Workbench) under mysqld section innodb is unchecked and OFF is selected in the drop down. I don't see this…
Jeff
  • 1,089
  • 5
  • 26
  • 46
3
votes
2 answers

When to increase AWS RDS MySQL Server instance to larger CPU/RAM?

I'm wondering at what stage do I need to increase the image for the RDS MySQL server to a larger CPU/RAM instance. The CPU utilization graph is near 0. The Avg Free Memory is around 150MB. The Avg Swap Usage is 420MB. Read Latency is 0-20ms/op it…
rksprst
  • 445
  • 1
  • 6
  • 9
3
votes
1 answer

CSV engine on MySQL server

I don't think that this is a programming question so I am going to ask it here - Reading the book high performance mysql, I read about the CSV engine. The paragraph says: The CSV engine can treat comma-separated values (CSV) files as table, but…
Jeff
  • 1,089
  • 5
  • 26
  • 46
3
votes
1 answer

MySQL filled all RAM on the system

Good Day, I've faced a problem when MySQL began to use all memory in system. After MySQL restart memory goes free but after some time filles again. graph of memory usage: http://netmaster.com.ua/files/sys_mem_stat.png There was no changes either…
Maxim
  • 31
  • 4
3
votes
2 answers

Unable to connect to remote host: Connection timed out when trying to telnet to MySQL?

When trying to connect to mysql server via telnet I am getting following error: telnet localhost 3306 Trying ::1... Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection timed out I tried telnet with 127.0.0.1, hostname also, but…
Bakhtiyor
  • 171
  • 1
  • 2
  • 7
3
votes
1 answer

Does Ubuntu 11.10 include MySQL 5.5?

I was told that Ubuntu 11.10 comes with MySQL 5.5 but it doesn't show up in the cache search. Did it not make it in to the latest release? root@ubuntu:/etc# cat lsb-release…
Jiho Kang
  • 1,047
  • 2
  • 10
  • 8
3
votes
1 answer

my.cnf file makeup, does the [] headers matter?

I've got a pretty basic question, I am making a configuration script for mySQL replication between 2 new blank servers, now to make it a bit more failsafe I added the lines: sed '/log-bin/d' /etc/my.cnf sed '/server/d' /etc/my.cnf So that, if there…
Entity_Razer
  • 475
  • 1
  • 5
  • 17
3
votes
2 answers

Tuning MySQL and Linux to reduce maximum response time specifically

We have a MySQL-based application that is very response time sensitive. A MySQL stored procedure needs to respond on average in less than 10 milliseconds and the maximum acceptable response time is 50 milliseconds. We are hitting the average…
Ben Williams
  • 2,376
  • 4
  • 21
  • 17
3
votes
1 answer

How to send logs to table so that we can view them in Workbench?

At log tab, it shows : Your current Log Destination is set to FILE. For logs to be viewed within Workbench they must be configured to be sent to TABLE. This option is only available in MySQL version 5.1 and…
JatSing
  • 249
  • 2
  • 3
  • 8
3
votes
1 answer

virtualenv gcc error MySQL-python

I am trying to install MySQL-python through PuTTY with virtualenv. Specs. *CentOS-6.0 *Python2.6 So I have read many sites and the biggest thing I see is python-dev, and python-devel(btw I don't know the difference). I cannot get these to install,…
Nathan McAfee
  • 33
  • 1
  • 4
3
votes
1 answer

ProFTPd, MySQL, virtual users and permissions

I want to control my ProFTPd authentication by a MySQL database. Users will be able to change the username and password of their FTP account(s) in a PHP web application. This provokes a following problem: The users set in the database usertable do…
ffraenz
  • 133
  • 1
  • 6
3
votes
1 answer

Install mysql-server and set password from the command line?

I am installing MySQL via the command line: sudo apt-get install mysql-server. During the installation process, it prompts me for a root password. How can I specify the MySQL password without having to wait for the screen to pop up and ask me the…
rascher
  • 1,118
  • 3
  • 13
  • 14