Changes

From SME Server
Jump to navigationJump to search
348 bytes added ,  01:13, 22 June 2013
no edit summary
Line 71: Line 71:  
*multiaccess
 
*multiaccess
 
set to enabled (enabled|disabled) to use with the url https://your-sme-ip/phpmyadmin-multi with the '''Mysql user account of a database''' and its password.
 
set to enabled (enabled|disabled) to use with the url https://your-sme-ip/phpmyadmin-multi with the '''Mysql user account of a database''' and its password.
 +
{{note box|alternatively you can use root and ldap password (cat /etc/ldap.secret) or (cat /etc/.my.cnf), but it is not advisable}}
 
  config setprop phpmyadmin multiaccess enabled
 
  config setprop phpmyadmin multiaccess enabled
 
and do these commands
 
and do these commands
Line 78: Line 79:     
*prevent the adminaccess
 
*prevent the adminaccess
in certain cases you may want to forbid the admin access for security reasons and you have to set the adminaccess to disabled and the multiaccess to enabled
+
in certain cases you may want to forbid the adminaccess and allow only the multiaccess, so you have to set the adminaccess to disabled and the multiaccess to enabled
    
  config setprop phpmyadmin adminaccess disabled
 
  config setprop phpmyadmin adminaccess disabled
Line 86: Line 87:  
  expand-template /etc/httpd/conf/httpd.conf
 
  expand-template /etc/httpd/conf/httpd.conf
 
  service httpd-e-smith restart
 
  service httpd-e-smith restart
 +
 +
therefore the management will do by the url https://your-sme-ip/phpmyadmin
 +
 +
{{Tip box| remember that at any time you can see you db configuration by the command "config show phpmyadmin in a root Terminal}}
    
=== Additional information ===
 
=== Additional information ===

Navigation menu