1
0
Fork 0
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:
polytan02 2017-02-14 23:52:49 +00:00
parent f786d700d3
commit d6e864028c
3 changed files with 7 additions and 7 deletions

View file

@ -57,7 +57,7 @@ $cfg['Servers'][$i]['controluser'] = 'YNH_PMA_USER';
$cfg['Servers'][$i]['controlpass'] = 'YNH_PMA_PASSWORD'; $cfg['Servers'][$i]['controlpass'] = 'YNH_PMA_PASSWORD';
/* Storage database and tables */ /* 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]['bookmarktable'] = 'pma__bookmark';
$cfg['Servers'][$i]['relation'] = 'pma__relation'; $cfg['Servers'][$i]['relation'] = 'pma__relation';
$cfg['Servers'][$i]['table_info'] = 'pma__table_info'; $cfg['Servers'][$i]['table_info'] = 'pma__table_info';

View file

@ -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; 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; 'YNH_PMA_USER'@localhost;

View file

@ -1,5 +1,5 @@
location YNH_WWW_PATH { location YNH_WWW_PATH {
alias YNH_WWW_ALIAS ; alias YNH_WWW_ALIAS/ ;
if ($scheme = http) { if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent; rewrite ^ https://$server_name$request_uri? permanent;
} }