Mysql57

From SME Server
Revision as of 17:19, 19 February 2017 by Unnilennium (talk | contribs) (Created page with "{{warning box| this is in alpha test, not for production yet}} == Description == This contrib purpose is to help configuring mysql57 on SME9 using software collection. Mos...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Warning.png Warning:
this is in alpha test, not for production yet


Description

This contrib purpose is to help configuring mysql57 on SME9 using software collection.

Most of configuration options are explained for mysql here : MySQL are also available for mysql57 ( except innoDB options). Only difference is to prefix mysqld and mysql.init db entry by "mysql57-".

Note that default behaviour will be socket only, and if you enable networking, it will listen on 3309 locally. You then will need to open port to 3307 to access remotely. Also if you want another port you need to define mysql57-mysqld property port to whatever you want. Also remember that default mysql port is reserved to original mysql server

this RPM will allow you to have 2 versions of mysql running!!!

see also for reference: Software_Collections:MySQL

For SME9 Software collection is only available for x64 architectures.

Version

Contrib 10:
Contrib 9:
smeserver-mysql57
The latest version of smeserver-mysql57 is available in the SME repository, click on the version number(s) for more information.


Maintainer

Unnilennium

Installation

yum --enablerepo=smedev smeserver-mysql57
signal-event post-upgrade
signal-event reboot


command line

/opt/rh/mysql57/root/usr/bin/mysql  --socket=/var/lib/mysql/mysql57.sock

Resetting the MySQL root password

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.

service mysql57-mysqld stop
expand-template /root/.my.cnf
expand-template /var/service/mysql57-mysqld/set.password
/opt/rh/mysql57/root/usr/libexec/mysqld --socket=/var/lib/mysql/mysql57.sock --bootstrap --user=mysql --skip-grant-tables < /var/service/mysql57-mysqld/set.password
service mysql57-mysqld start

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-mysql57 component or use this link .


"No open bugs found."

Changelog

Only versions released in smecontrib are listed here:

smeserver-mysql57 Changelog: SME 10 (smecontribs)
2022/03/12 Jean-Philippe Pialasse 2.0.0-15.sme
- fix mysql.init and few other scripts [SME: 11896]
2022/02/24 Jean-Philippe Pialasse 2.0.0-14.sme
- expand phpmyadmin config file on install [SME: 11877]

2022/02/23 Jean-Philippe Pialasse 2.0.0-13.sme
- adapt for SME10 [SME: 11877]

 systemd service files
update event
changing paths
2019/11/21 Jean-Philipe Pialasse 2.0.0-12.sme
- fix reload dump when should not [SME: 10830]
2017/04/03 Jean-Philipe Pialasse 2.0.0-11.sme
- fix pre-backup failure [SME: 10202]