jpuck / qdbp Goto Github PK
View Code? Open in Web Editor NEWPHP CLI app to execute SQL scripts and generate MySQL environments suited for development, test, and production
License: MIT License
PHP CLI app to execute SQL scripts and generate MySQL environments suited for development, test, and production
License: MIT License
if you enter a multi-line command for exec_sql.bash
, then only the first line gets saved to exec_sql
Maybe parse the DSN driver to determine the DBMS.
this will allow for backwards compatibility in PHP<7
too many errors forgetting to simply bump the splash screen version number. need something like this release script.
please consider registering with phive on https://phar.io/
CREATE DATABASE <database name> CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;
See also: choosing a collation.
closing tags causes whitespace issues (being sent before header, etc.) when appended
sometimes with localhost
we get
[PDOException (2002)]
SQLSTATE[HY000] [2002] No such file or directory
In the event that the credentials.local.bash
file is in a folder available to the world wide web, it needs to be blocked from a web server freely distributing it. for production environments, this file is not created, so it's a low priority. as long as the web server has php enabled and configured properly, then it shouldn't serve the contents of the credentials.local.inc.php
file. considerations for a variety of web server vendors should be made.
Longer term solution with other possible benefits: implement all the bash scripts in php.
you can now pass a username (and password) to this script for more powerful automation - in particular setting -u root
with no password for travis-ci.
need to update usage prompt in script and README.md
The current password generation mechanism is too simple as it only uses [0-9a-Z] which won't satisfy MySQL 5.6 complex password standards. The function needs to spice it up with special characters, and it could stand to be longer also.
credentials.local.*
are already ignored in this project, but we need a way that first checks if they're presently ignored in the super project, and appends the .gitignore
if not.
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.