Changes

Jump to navigation Jump to search
486 bytes added ,  21:23, 19 March 2022
no edit summary
Line 6: Line 6:  
</blockquote>
 
</blockquote>
 
__TOC__
 
__TOC__
 +
{{Note box| Mysql 5.7  support is up to 31 Oct 2023 so 8 months before SME10 EOL which is  30 June 2024.}}
 
== Description ==
 
== Description ==
   Line 29: Line 30:  
==Installation==
 
==Installation==
 
<tabs container><tab name="For SME 10">
 
<tabs container><tab name="For SME 10">
{{warning box| this is still alpha, only for testing }}
   
  yum install smeserver-extrarepositories-centos-sclo -y  
 
  yum install smeserver-extrarepositories-centos-sclo -y  
  yum install --enablerepo=smecontribs smeserver-mysql57
+
  yum install --enablerepo=smecontribs,centos-sclo-rh smeserver-mysql57
 
  source /etc/profile.d/mysql57.sh
 
  source /etc/profile.d/mysql57.sh
   −
and enjoy mysql57
+
and enjoy mysql57, no more commands nor reboot required !
 
</tab>
 
</tab>
 
<tab name="For SME 9">
 
<tab name="For SME 9">
Line 122: Line 122:     
To reset the password for the MySQL root account. The MySQL root user on SME Server has a random generated password which is generated during installation. You do not need to know this password to login to MySQL with root privileges on SME Server. If you might have changed the MySQL root password you can reset it like this after getting command line access as root user.
 
To reset the password for the MySQL root account. The MySQL root user on SME Server has a random generated password which is generated during installation. You do not need to know this password to login to MySQL with root privileges on SME Server. If you might have changed the MySQL root password you can reset it like this after getting command line access as root user.
 +
#SME9
 
  service mysql57-mysqld stop
 
  service mysql57-mysqld stop
 
  expand-template /root/.my.cnf
 
  expand-template /root/.my.cnf
Line 129: Line 130:  
  exit
 
  exit
 
  service mysql57-mysqld start
 
  service mysql57-mysqld start
 +
 +
#SME10
 +
systemctl stop mysql57-mysqld
 +
expand-template /root/.my.cnf
 +
expand-template /var/opt/rh/rh-mysql57/lib/misc/set.password
 +
scl enable rh-mysql57 bash
 +
/opt/rh/rh-mysql57/root/usr/libexec/mysqld --socket=/var/lib/mysql/mysql57.sock --bootstrap --user=mysql --skip-grant-tables < /var/opt/rh/rh-mysql57/lib/misc/set.password
 +
exit
 +
systemctl start mysql57-mysqld
    
=== Bugs ===
 
=== Bugs ===
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu