mirror of
https://github.com/YunoHost-Apps/phpmyadmin_ynh.git
synced 2024-09-03 19:56:46 +02:00
Update to mtach scripts
This commit is contained in:
parent
f786d700d3
commit
d6e864028c
3 changed files with 7 additions and 7 deletions
|
@ -57,7 +57,7 @@ $cfg['Servers'][$i]['controluser'] = 'YNH_PMA_USER';
|
|||
$cfg['Servers'][$i]['controlpass'] = 'YNH_PMA_PASSWORD';
|
||||
|
||||
/* Storage database and tables */
|
||||
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
|
||||
$cfg['Servers'][$i]['pmadb'] = 'YNH_PMA_USER';
|
||||
$cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
|
||||
$cfg['Servers'][$i]['relation'] = 'pma__relation';
|
||||
$cfg['Servers'][$i]['table_info'] = 'pma__table_info';
|
||||
|
|
|
@ -14,14 +14,14 @@
|
|||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
DROP DATABASE `phpmyadmin`;
|
||||
DROP DATABASE `YNH_PMA_USER`;
|
||||
|
||||
--
|
||||
-- Database : `phpmyadmin`
|
||||
-- Database : `YNH_PMA_USER`
|
||||
--
|
||||
CREATE DATABASE IF NOT EXISTS `phpmyadmin`
|
||||
CREATE DATABASE IF NOT EXISTS `YNH_PMA_USER`
|
||||
DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
|
||||
USE phpmyadmin;
|
||||
USE YNH_PMA_USER;
|
||||
|
||||
GRANT SELECT, INSERT, DELETE, UPDATE ON `phpmyadmin`.* TO
|
||||
GRANT SELECT, INSERT, DELETE, UPDATE ON `YNH_PMA_USER`.* TO
|
||||
'YNH_PMA_USER'@localhost;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
location YNH_WWW_PATH {
|
||||
alias YNH_WWW_ALIAS ;
|
||||
alias YNH_WWW_ALIAS/ ;
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue