ezzatron / mysql-ad-hoc Goto Github PK
View Code? Open in Web Editor NEWCommand-line tool for creating short lifespan MySQL servers.
License: MIT License
Command-line tool for creating short lifespan MySQL servers.
License: MIT License
A lot has changed in MySQL 5.7, namely that mysql_install_db
is deprecated and will no longer pass unknown options to the underlying mysql
instance. There are several other changes as well.
This means that running a stock command on a new folder db
will yield
Installing new database to ./db
mysql_install_db: [ERROR] unknown variable 'socket=./mysql.sock'
2016-05-18 14:52:43 [ERROR] Unrecognized options
Starting MySQL server
2016-05-18T18:52:43.6NZ mysqld_safe Logging to './db/./mysql.err'.
2016-05-18T18:52:43.6NZ mysqld_safe Starting mysqld daemon with databases from ./db
2016-05-18T18:52:44.6NZ mysqld_safe mysqld from pid file ./db/./mysql.pid ended
mysqld
will also complain that the db
folder has files in it and it will not continue running, even if db
is actually empty.
This is using MySQL 5.7.12 from homebrew on OS X 10.11.4.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.