This package contains a pure-Python MySQL client library, based on PEP 249. Most public APIs are compatible with mysqlclient and MySQLdb. NOTE: PyMySQL doesn't support low level APIs mysql provides like dataseek, storeresult, and useresult.You should use high level APIs defined in PEP 249.But some APIs like autocommit and ping are supported because PEP 249 doesn't cover their. Download MySQL Community Server 5.5 DMG Archive. Double-click the DMG Archive, and then double-click the.pkg file that starts with mysql-5.5. Follow the instructions to install the MySQL server. Double-click the MySQLStartupItem.pkg file, and follow the instructions in the setup wizard.
- Download Mysql 5.5 For Mac Download
- Mysql 5.5 Download For Linux
- Download Mysql 5.5 For Mac 64-bit
- Download Mysql 5.5 For Mac High Sierra
(mysql-installer-web-community-5.6.26.0.msi) MD5: 1c8f87517e6fb44ec7d5fb755c9c8af2 Signature Windows (x86, 32-bit), MSI Installer: Jul 15, 2015: 253.9M.
This User Tip describes how to download, install, and setup MySQL for use on OS X. It includes an optional section for Perl support. Please read through the entire User Tip before starting.
Requirements:
- Basic understanding of Terminal.app and how to run command-line programs.
- Basic usage of vi. You can substitute nano if you want.
Optional:
Xcode (with command line tools) is required for the MySQL Perl driver.
Lines in bold are what you will have to type in at the Terminal.
Replace with the name of your machine. Ideally, it should be a one-word name with no spaces or punctuation. It just makes life easier.
Replace with your short user name.
Download MySQL from a local mirror. You want the Mac OS X ver. 10.6 (x86, 64-bit), DMG Archive. At the time of writing this User Tip, the current version is 5.5.34. By the time you read this, there may be a newer version to use instead. Open the archive mysql-5.5.34-osx10.6-x86_64.dmg.
Install only the mysql-5.5.34-osx10.6-x86_64.pkg package. Ignore everything else.
MySQL comes with a Preference Pane and Startup Item that are based on technologies that Apple deprecated years ago. If you install the Preference Pane or Startup Item, your MySQL installation could fail at some point in the future when Apple removes support for Startup Items. This was reported to MySQL a long time ago. Until MySQL gets around to fixing this bug, we will have to do it ourselves.
Create a launchd config file for MySQL:
sudo vi /Library/LaunchDaemons/com.mysql.mysql.plist
Use the following content:
KeepAlive
Label
com.mysql.mysqld
ProgramArguments
/usr/local/mysql/bin/mysqld_safe
--user=mysql
(if you are new to vi, type 'i' to enter insert mode. Then ⌘-v to paste the above content. Press escape to get back to command mode. Then type 'ZZ' to save and exit.)
The default path for the MySQL socket is not appropriate for MacOS X. Until it is changed, MySQL will not be able to communicate with PHP should you choose to enable that. Let's fix this now.
Create a config file for MySQL that matches the Apple PHP build:
sudo vi /etc/my.cnf
Use the following content:
[client]
socket=/var/mysql/mysql.sock
[mysqld]
Download Mysql 5.5 For Mac Download
socket=/var/mysql/mysql.sock
Start MySQL:
sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysql.plist
MySQL is now up and running. Don't forget to set a root password and configure your users if this is all you need.
If you need to configure Perl support for MySQL, don't setup a root password just yet. Having no password will make testing the Perl module easier. Keep reading..
You will need Xcode and command line tools for this part.
Download the MySQL Perl driver.
Extract the archive with:
tar zxvf DBD-mysql-4.020.tar.gz
Move into the directory:
Mysql 5.5 Download For Linux
cd DBD-mysql-4.020
First, fix the MySQL client library. (credit)
For Lion, type:
sudo install_name_tool -id /usr/local/mysql-5.5.34-osx10.6-x86_64/lib/libmysqlclient.18.dylib /usr/local/mysql-5.5.34-osx10.6-x86_64/lib/libmysqlclient.18.dylib
Next, build DBD::mysql with:
perl Makefile.PL --mysql_config=/usr/local/mysql/bin/mysql_config --testsocket=/var/mysql/mysql.sock --testuser=root
make
make test
sudo make install
Now you can set a root password and configure your users.
MySQL provides standards-based drivers for JDBC, ODBC, and .Net enabling developers to build database applications in their language of choice. In addition, a native C library allows developers to embed MySQL directly into their applications.
Download Mysql 5.5 For Mac 64-bit
Developed by MySQL | |
---|---|
ADO.NET Driver for MySQL (Connector/NET) | Download |
ODBC Driver for MySQL (Connector/ODBC) | Download |
JDBC Driver for MySQL (Connector/J) | Download |
Node.js Driver for MySQL (Connector/Node.js) | Download |
Python Driver for MySQL (Connector/Python) | Download |
C++ Driver for MySQL (Connector/C++) | Download |
C Driver for MySQL (Connector/C) | Download |
C API for MySQL (mysqlclient) | Download |
These drivers are developed and maintained by the MySQL Community.
Download Mysql 5.5 For Mac High Sierra
Developed by Community | |
---|---|
PHP Drivers for MySQL (mysqli, ext/mysqli, PDO_MYSQL, PHP_MYSQLND) | Download |
Perl Driver for MySQL (DBD::mysql) | Download |
Ruby Driver for MySQL (ruby-mysql) | Download |
C++ Wrapper for MySQL C API (MySQL++) | Download |