Changes

From SME Server
Jump to navigationJump to search
611 bytes added ,  10:03, 18 August 2022
Line 152: Line 152:  
Expand template and restart mysqld
 
Expand template and restart mysqld
 
  expand-template /etc/my.cnf
 
  expand-template /etc/my.cnf
 +
<tabs container style="display: inline-block;"><tab name="For SME 10">
 +
systemctl restart mariadb
 +
</tab><tab name="For SME 9 and before">
 
  sv t /service/mysqld
 
  sv t /service/mysqld
 +
</tab>
 +
</tabs>
 
Check status of the service
 
Check status of the service
 +
<tabs container style="display: inline-block;"><tab name="For SME 10">
 +
systemctl status mariadb
 +
</tab><tab name="For SME 9 and before">
 
  sv s /service/mysqld
 
  sv s /service/mysqld
 +
</tab>
 +
</tabs>
    
In this particular example there appears to be a requirement to share the mysql databases with LAN (local) or WAN (external) users. To achieve this you may need to change access permissions to your mysql databases, refer
 
In this particular example there appears to be a requirement to share the mysql databases with LAN (local) or WAN (external) users. To achieve this you may need to change access permissions to your mysql databases, refer
Line 168: Line 178:  
  rm /etc/e-smith/templates-custom/etc/my.cnf/005mysqld
 
  rm /etc/e-smith/templates-custom/etc/my.cnf/005mysqld
 
  expand-template /etc/my.cnf
 
  expand-template /etc/my.cnf
 +
<tabs container style="display: inline-block;"><tab name="For SME 10">
 +
systemctl restart mariadb
 +
</tab><tab name="For SME 9 and before">
 
  sv t /service/mysqld
 
  sv t /service/mysqld
 +
</tab>
 +
</tabs>
 +
 
Check status of the service
 
Check status of the service
 +
<tabs container style="display: inline-block;"><tab name="For SME 10">
 +
systemctl status mariadb
 +
</tab><tab name="For SME 9 and before">
 
  sv s /service/mysqld
 
  sv s /service/mysqld
 +
</tab>
 +
</tabs>
    
====php.ini====
 
====php.ini====
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,230

edits

Navigation menu