Commit Graph

123 Commits

Author SHA1 Message Date
5b5f86c1a1 Add a new way of overriding the module.info description, and use it for MySQL 2021-04-21 21:54:07 -07:00
a76125769f Use cached DB type when performing mysql -> mariadb string replacement 2021-01-04 20:28:50 -08:00
371be571af Display MariaDB name for module if used 1/2 https://github.com/webmin/webmin/issues/1421 2021-01-02 14:09:26 +03:00
62c0569525 Default variant should be MySQL with fancy builds 96257e8956 (diff-660d08ad1fbe98f13c43a2e7221aa57990287dd782394524d3a3a332d0860aecR3456) 2020-11-30 12:57:25 +03:00
d10b1578ae Add ability to force reset lost admin password for MySQL 2020-11-29 18:07:39 +03:00
a79a09a60d Satisfy requirement to restart database process on renaming admin user 2020-11-29 16:39:02 +03:00
6a9b1a4dd3 Fix missing var after moving code 2020-11-29 16:12:33 +03:00
3731b28435 Fix to call update config in the right context (rename) 2020-11-29 14:47:04 +03:00
125cc7b418 Fix MySQL password handling for users with unix auth https://github.com/webmin/webmin/issues/1333
Additionally fixed renaming of admin user and password, all at once or separetely
2020-11-28 21:02:50 +03:00
1a707f1d06 Fix typo 2020-10-12 22:04:26 +03:00
68f0e8dc98 Fix setting of perms for new users 2020-10-11 20:08:07 -07:00
f61c7bd773 Add support for MariaDB 10.4 2/3 2020-10-11 19:58:04 +03:00
b82bd80f42 Revert "Escape to prevent command expansion"
This reverts commit 20f947e7e5.
2020-10-07 20:48:20 +03:00
20f947e7e5 Escape to prevent command expansion 2020-10-07 20:17:21 +03:00
2a956a021b Add support for latest MySQL/MariaDB 1/2 2020-09-23 16:55:52 +03:00
ba0c38aeed Ubuntu has MariaDB too c2245246f5
https://www.virtualmin.com/node/69012
https://www.virtualmin.com/node/69064
https://forum.virtualmin.com/t/mysql-database-failed-sql-alter-user-failed-old-problem-again/105647/5
2020-05-14 16:25:32 +03:00
35df515dee Param is a number 2020-04-05 17:12:49 -07:00
a2dc3f7124 Switch all calls to open() to explicitly open for read 2020-03-14 17:20:54 -07:00
02e3722b01 Display charset details 2020-02-29 23:59:31 +03:00
921121be60 The ubuntu sub-version isn't really a version 2020-01-05 19:00:43 -08:00
8faabd6d22 Properly escape where clause 2019-10-05 22:40:29 -07:00
771a4a413c Fix double-slashes 2019-08-04 15:05:51 -07:00
66683b0e3f Add param to skip errors 2019-04-27 17:55:34 -07:00
1dbfe23ed3 Sometimes version doesn't have -mariadb 2019-02-23 16:58:17 -08:00
14fc240771 Properly check mysql variant when making version decisions 2019-02-23 11:20:01 -08:00
eededaf844 Include full version in msql_version, and actually do version comparisons properly 2019-02-18 16:44:21 -08:00
b8d7e277f3 Fix MySQL 8 version detection https://sourceforge.net/p/webadmin/bugs/5125/ 2018-05-13 15:37:40 -07:00
0f9fb77369 Fix typo 2017-11-08 16:43:37 +08:00
f1902d418e sort_buffer has been renamed in MySQL 5.5 https://www.virtualmin.com/node/53871 2017-11-03 23:13:06 -07:00
d3d4db4ab6 Use the 'source' command to read in sql files, as it's more reliable that simply redirecting input https://www.virtualmin.com/node/53763 2017-09-29 21:54:23 -07:00
97107f4fcf Support MySQL 7,8 and 9 https://sourceforge.net/p/webadmin/bugs/4992/ 2017-07-07 22:48:56 -07:00
79877df57c Escape output from the init script 2017-04-29 16:56:58 -07:00
a37185b170 Fix code that detects support for mysql.hosts table https://sourceforge.net/p/webadmin/bugs/4945/ 2017-04-23 14:17:51 -07:00
c3a5efb914 Don't include error messages in the output from mysqldump https://www.virtualmin.com/node/50156 2017-03-14 20:40:22 -07:00
5bd77486d9 Catch failure of the mysqldump command in the pipeline https://sourceforge.net/p/webadmin/bugs/4878/ 2017-01-22 19:39:39 -08:00
1fd2f398ad Add and use a function to save the MySQL version number 2016-12-26 21:11:11 -08:00
ad381d1447 Differentiate remote and local mysql versions 2016-12-24 22:33:26 -08:00
cda820a418 MySQL 5.7.16 doesn't support the hosts table https://www.virtualmin.com/node/43131 2016-11-09 20:56:08 -08:00
d03f6fdc67 Support views without needing to login to MySQL 2016-10-30 22:43:49 -07:00
0a08ee52ea mysql 5.5+ always supports views 2016-10-27 23:18:35 -07:00
c7554ac611 Only treat undef as null 2016-05-27 14:52:40 -07:00
a405b317e3 When backing up a database, only run the actual writing command as the user, rather than all of mysqldump 2016-05-01 11:21:51 -07:00
601b234126 Also set authentication_string to empty if it exists https://sourceforge.net/p/webadmin/bugs/4735/ 2016-04-16 13:44:42 -07:00
46d7022cc9 Complete support for mysql include files https://sourceforge.net/p/webadmin/bugs/4726/ 2016-03-26 18:05:02 -07:00
7efcd84bda Support mysql.conf innf include files https://sourceforge.net/p/webadmin/bugs/4726/ 2016-03-25 21:25:52 -07:00
e9a08bb3bb Variable has been renamed to key_buffer_size https://sourceforge.net/p/webadmin/bugs/4724/ 2016-03-24 20:36:00 -07:00
8d5109718b Don't shows hosts table on MySQL 5.7+ 2016-01-01 15:10:45 -08:00
984ad50d21 Set SSL fields to an empty value at creation time, to satisfy MySQL 5.7 2015-12-29 11:01:27 -08:00
dc121cc427 Remove useless function 2015-12-28 16:01:39 -08:00
2e625451a3 Re-factor DB permissions editing 2015-12-22 17:21:26 -08:00