Commit Graph

144 Commits

Author SHA1 Message Date
Jamie Cameron
eb79f4c169 Add config option to force use of some authentication plugin 2023-07-12 16:55:03 -07:00
iliajie
b49d4f8147 Fix to copy file permissions too 2023-07-01 22:19:30 +03:00
iliajie
f3bc8c9061 Fix to tighten regex match 2023-06-30 14:21:41 +03:00
iliajie
2b2ead4d7d Add ability to downgrade database collation 2023-06-30 13:42:31 +03:00
Devadatta Sahoo
dedfaa49ae Resolves https://github.com/webmin/webmin/issues/1933
Resolves https://github.com/webmin/webmin/issues/1933
2023-06-23 06:28:40 +05:30
iliajie
c66c078bde Fix to correctly set user password on MySQL user creation https://github.com/webmin/webmin/issues/1909 2023-05-24 18:48:33 +03:00
Jamie Cameron
7edccbe38b Newer DBD::mysql versions need to set mysql_ssl_optional to not fail if mandatory SSL isn't supported https://forum.virtualmin.com/t/remote-mysql-server-ssl-connection-issue/120683 2023-05-08 17:39:31 -07:00
Jamie Cameron
625f4ac93c Fix check for missing value! 2023-04-30 10:54:58 -07:00
Jamie Cameron
1e5032c7a3 Don't reference non-existent values 2023-04-28 12:00:04 -07:00
Jamie Cameron
31d69174fc Actually return the value of the password field https://forum.virtualmin.com/t/mysql-root-password-leaks-to-users-during-backup/120096/5 2023-04-05 20:59:47 -07:00
Jamie Cameron
ff4aacb5bc Use my instead of local 2023-02-23 19:36:21 -08:00
Jamie Cameron
434eb4a42e Also check if the password set is the same as what we'd want to set 2023-01-27 15:18:29 -08:00
Jamie Cameron
4b5f3d7ccd Add config option to connect in SSL mode 2023-01-21 21:41:59 -08:00
Jamie Cameron
ca814a4e6f If we get an ERROR output when executing an SQL file, consider it failed even if the exit status is zero 2023-01-03 18:25:50 -08:00
Jamie Cameron
4ae46dbe83 Also fix MySQL strings in PHP-INI module https://github.com/virtualmin/virtualmin-gpl/issues/464 2022-10-08 23:22:52 -07:00
iliajie
e1144a7398 Fix to replace config and help labels too (MySQL ⇾ MariaDB) 2022-09-29 09:58:14 +03:00
Jamie Cameron
dd5bce5adf Always set ENV{'PASS'} when needed https://sourceforge.net/p/webadmin/bugs/5542/ 2022-02-01 19:34:40 -08:00
Jamie Cameron
9e8747ede4 Add extra check for wrong packet size https://forum.virtualmin.com/t/virtualmin-backup-truncates-part-of-mysql-dump-without-generating-error/113551/9 2022-01-12 21:11:51 -08:00
Ilia Rostovtsev
732941d30a Fix to handle removed options in MySQL 8 #1561 2021-12-08 15:59:33 +03:00
Scott Lucas
480c81f272 Fix Virtualmin breaking mysql backup_database force parameter 2021-08-23 14:40:24 +01:00
Scott Lucas
ea91c26d70 Add custom mysql backup parameters option 2021-08-12 09:29:02 +01:00
Jamie Cameron
5b5f86c1a1 Add a new way of overriding the module.info description, and use it for MySQL 2021-04-21 21:54:07 -07:00
Jamie Cameron
a76125769f Use cached DB type when performing mysql -> mariadb string replacement 2021-01-04 20:28:50 -08:00
Ilia Rostovtsev
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
Ilia Rostovtsev
62c0569525 Default variant should be MySQL with fancy builds 96257e8956 (diff-660d08ad1fbe98f13c43a2e7221aa57990287dd782394524d3a3a332d0860aecR3456) 2020-11-30 12:57:25 +03:00
Ilia Rostovtsev
d10b1578ae Add ability to force reset lost admin password for MySQL 2020-11-29 18:07:39 +03:00
Ilia Rostovtsev
a79a09a60d Satisfy requirement to restart database process on renaming admin user 2020-11-29 16:39:02 +03:00
Ilia Rostovtsev
6a9b1a4dd3 Fix missing var after moving code 2020-11-29 16:12:33 +03:00
Ilia Rostovtsev
3731b28435 Fix to call update config in the right context (rename) 2020-11-29 14:47:04 +03:00
Ilia Rostovtsev
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
Ilia Rostovtsev
1a707f1d06 Fix typo 2020-10-12 22:04:26 +03:00
Jamie Cameron
68f0e8dc98 Fix setting of perms for new users 2020-10-11 20:08:07 -07:00
Ilia Rostovtsev
f61c7bd773 Add support for MariaDB 10.4 2/3 2020-10-11 19:58:04 +03:00
Ilia Rostovtsev
b82bd80f42 Revert "Escape to prevent command expansion"
This reverts commit 20f947e7e5.
2020-10-07 20:48:20 +03:00
Ilia Rostovtsev
20f947e7e5 Escape to prevent command expansion 2020-10-07 20:17:21 +03:00
Ilia Rostovtsev
2a956a021b Add support for latest MySQL/MariaDB 1/2 2020-09-23 16:55:52 +03:00
Ilia Rostovtsev
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
Jamie Cameron
35df515dee Param is a number 2020-04-05 17:12:49 -07:00
Jamie Cameron
a2dc3f7124 Switch all calls to open() to explicitly open for read 2020-03-14 17:20:54 -07:00
Ilia Rostovtsev
02e3722b01 Display charset details 2020-02-29 23:59:31 +03:00
Jamie Cameron
921121be60 The ubuntu sub-version isn't really a version 2020-01-05 19:00:43 -08:00
Jamie Cameron
8faabd6d22 Properly escape where clause 2019-10-05 22:40:29 -07:00
Jamie Cameron
771a4a413c Fix double-slashes 2019-08-04 15:05:51 -07:00
Jamie Cameron
66683b0e3f Add param to skip errors 2019-04-27 17:55:34 -07:00
Jamie Cameron
1dbfe23ed3 Sometimes version doesn't have -mariadb 2019-02-23 16:58:17 -08:00
Jamie Cameron
14fc240771 Properly check mysql variant when making version decisions 2019-02-23 11:20:01 -08:00
Jamie Cameron
eededaf844 Include full version in msql_version, and actually do version comparisons properly 2019-02-18 16:44:21 -08:00
Jamie Cameron
b8d7e277f3 Fix MySQL 8 version detection https://sourceforge.net/p/webadmin/bugs/5125/ 2018-05-13 15:37:40 -07:00
yangfl
0f9fb77369 Fix typo 2017-11-08 16:43:37 +08:00
Jamie Cameron
f1902d418e sort_buffer has been renamed in MySQL 5.5 https://www.virtualmin.com/node/53871 2017-11-03 23:13:06 -07:00