[MDEV-21411] Provide a way to upgrade embedded server database Created: 2020-01-01  Updated: 2020-09-13

Status: Open
Project: MariaDB Server
Component/s: Embedded Server
Fix Version/s: None

Type: Task Priority: Major
Reporter: June Wallace Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

When using standalone server and upgrading to a new version, mysql_upgrade can be run to upgrade the database.
It seems to be not applicable when using embedded server. mysql_upgrade doesn't use --datadir option.

Please provide a way to upgrade the database via CLI or C API.



 Comments   
Comment by Sergei Golubchik [ 2020-01-28 ]

you can install the server locally from a tarball (just unpack the tarball somewhere), start the server with the --datadir that you need, and then run mysql_upgrade.

Generated at Thu Feb 08 09:06:56 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.