Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kamipo/mysql-build
Compile and install MySQL
https://github.com/kamipo/mysql-build
Last synced: about 13 hours ago
JSON representation
Compile and install MySQL
- Host: GitHub
- URL: https://github.com/kamipo/mysql-build
- Owner: kamipo
- License: mit
- Created: 2011-12-08T14:15:14.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2024-06-01T02:24:52.000Z (6 months ago)
- Last Synced: 2024-11-06T12:51:41.269Z (7 days ago)
- Language: Shell
- Homepage:
- Size: 102 KB
- Stars: 106
- Watchers: 10
- Forks: 29
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mysql-build
mysql-build - provides a command to compile and install different versions of MySQL.
The overall structure is loosly borrowed from Sam Stephenson's [ruby-build](https://github.com/sstephenson/ruby-build).
## Installation
```
git clone https://github.com/kamipo/mysql-build.git ~/mysql-buildexport PATH="$HOME/mysql-build/bin:$PATH"
```## Usage
```
mkdir -p ~/opt/mysql
mysql-build -v 5.7.10 ~/opt/mysql/mysql-5.7.10cd ~/opt/mysql/mysql-5.7.10
./bin/mysqld --initialize-insecure --basedir=.
./bin/mysqld_safe &./bin/mysql -e 'SELECT @@version'
```