Closed shayancanonical closed 1 year ago
Should we remove mysql-8.0 here:
package-repositories:
- type: apt
components:
- mysql-8.0
Otherwise SNAP will install MySQL 8.0.33 from Oracle and we need 8.0.32 from Canonical. Isn't it?
Should we remove mysql-8.0 here:
package-repositories: - type: apt components: - mysql-8.0
Otherwise SNAP will install MySQL 8.0.33 from Oracle and we need 8.0.32 from Canonical. Isn't it?
The issue is that mysql-tools
contains both mysqlrouter and mysqlsh, which when installed from MySQL will install 8.0.33. I am trying to determine how to install mysqlsh 8.0.32, but they only expose tar files for older versions and the deb is only for the latest version
Issue
The
mysqld
andmysqlrouter
socket files will need to be accessible by other snaps (or charms with other snaps). Thecharmed-mysql
snap is strictly confined.Solution
Add slots for the
$SNAP_COMMON/var/run/mysqld
folder to access mysqld socket files Add slots for the$SNAP_COMMON/var/run/mysqlrouter
folder to access the mysqlrouter socket files