You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 28, 2024. It is now read-only.
* Generated files are now output in to a "gen" directory, that is ignored by git
* Added using a new default user (that has the account locked) for the MySQL 5.7+ integration as the DEFINER for all objects
* Added a warning to the top of the generated integration file to also submit changes to the sys project
* Improved the the option of skipping binary logs, so that all routines can load as well - those that used SET sql_log_bin will now select a warning when being used instead of setting the option
# Note this currently only works with 5.7 mysql.user structure
170
+
echo"REPLACE INTO mysql.user VALUES ('localhost','mysql.sys','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','Y','N','','','','',0,0,0,0,'mysql_native_password',PASSWORD(UUID()),'N',CURRENT_TIMESTAMP,NULL,'Y');">>$OUTPUTFILE
171
+
echo"">>$OUTPUTFILE
172
+
echo"REPLACE INTO mysql.tables_priv VALUES ('localhost','sys','mysql.sys','sys_config','root@localhost', CURRENT_TIMESTAMP, 'Select', '');">>$OUTPUTFILE
173
+
echo"">>$OUTPUTFILE
174
+
175
+
# Put in the contents of before_setup.sql, though don't collapse lines
176
+
sed -e "/sql_log_bin/d;s/'root'@'localhost'/$MYSQLUSER/g;/Copyright/,/51 Franklin St/d"$SYSDIR/before_setup.sql >>$OUTPUTFILE
177
+
178
+
# Add the rest of the files in install file order, removing new lines along the way
0 commit comments