$> tar -xvf mysql-ai-version.distro.arch.rpm-bundle.tar
もしくは
$> unzip V1051679-01.zip
解凍した後はこんな風になる
$ ls -ltrh
total 12G
-rw-r--r-- 1 takiida common 42M Aug 26 15:26 mysql-ai-client-9.4.1-1.2.el8.x86_64.rpm
-rw-r--r-- 1 takiida common 725K Aug 26 15:26 mysql-ai-common-9.4.1-1.2.el8.x86_64.rpm
-rw-r--r-- 1 takiida common 16M Aug 26 15:26 mysql-ai-client-plugins-9.4.1-1.2.el8.x86_64.rpm
-rw-r--r-- 1 takiida common 23M Aug 26 15:26 mysql-ai-devel-9.4.1-1.2.el8.x86_64.rpm
-rw-r--r-- 1 takiida common 2.3M Aug 26 15:26 mysql-ai-icu-data-files-9.4.1-1.2.el8.x86_64.rpm
-rw-r--r-- 1 takiida common 1.9G Aug 26 15:26 mysql-ai-heatwave-ml-9.4.1-1.2.el8.x86_64.rpm
-rw-r--r-- 1 takiida common 4.7M Aug 26 15:26 mysql-ai-libs-compat-9.4.1-1.2.el8.x86_64.rpm
-rw-r--r-- 1 takiida common 4.3M Aug 26 15:26 mysql-ai-libs-9.4.1-1.2.el8.x86_64.rpm
-rw-r--r-- 1 takiida common 1.9G Aug 26 15:26 mysql-ai-llm-9.4.1-1.2.el8.x86_64.rpm
-rw-r--r-- 1 takiida common 100M Aug 26 15:26 mysql-ai-rpdheatpump-9.4.1-1.2.el8.x86_64.rpm
-rw-r--r-- 1 takiida common 101K Aug 26 15:26 mysql-ai-selinux-9.4.1-1.2.el8.x86_64.rpm
-rw-r--r-- 1 takiida common 230M Aug 26 15:26 mysql-ai-rpdserver-9.4.1-1.2.el8.x86_64.rpm
-rw-r--r-- 1 takiida common 531M Aug 26 15:27 mysql-ai-server-9.4.1-1.2.el8.x86_64.rpm
-rw-r--r-- 1 takiida common 1.2M Aug 26 15:27 mysql-ai-setup-9.4.1-1.2.el8.x86_64.rpm
-rw-r--r-- 1 takiida common 358M Aug 26 15:27 mysql-ai-server-debug-9.4.1-1.2.el8.x86_64.rpm
-rw-r--r-- 1 takiida common 238M Aug 26 15:27 mysql-ai-studio-9.4.1-1.2.el8.x86_64.rpm
-rw-r--r-- 1 takiida common 3.8M Aug 26 15:27 mysql-commercial-backup-9.4.1-1.5.1.el8.x86_64.rpm
-rw-r--r-- 1 takiida common 467M Aug 26 15:27 mysql-ai-test-9.4.1-1.2.el8.x86_64.rpm
-rw-r--r-- 1 takiida common 68M Aug 26 15:27 mysql-router-commercial-9.4.1-1.5.1.el8.x86_64.rpm
-rw-r--r-- 1 takiida common 116M Aug 26 15:27 mysql-shell-commercial-9.4.1-1.1.el8.x86_64.rpm
-rw-r--r-- 1 takiida common 64 Sep 3 09:44 README.txt
-rw-r--r-- 1 takiida common 5.9G Sep 17 10:48 V1051679-01.zip
ちょっとヘルプを見てみる。
$ sudo mysql-ai-setup --help
usage: mysql-ai-setup [-h] [--cli] [--skip-install] [--script-only] [--datadir D] [--skip-requirements] [--mysql-root-user N] [--mysql-root-password P] [--mysql-root-allow-remote-connections] [--skip-mysql-studio]
[--install-mysql-studio] [--mysql-studio-port P] [--skip-mysql-shell-gui] [--install-mysql-shell-gui] [--mysql-shell-gui-port P] [--skip-mysql-router] [--install-mysql-router]
[--mysql-router-port P] [--mysql-router-jwt-secret P] [--secure-file-priv P] [--mysql-server-tls-certificate P] [--mysql-server-tls-private-key P] [--skip-ai-encryption]
[--ai-plugin-certificate P] [--ai-plugin-private-key P] [--ai-plugin-common-name P] [--ai-services-certificate P] [--ai-services-private-key P] [--ai-services-common-name P]
[--ai-plugin-create-self-signed-certificate CN] [--ai-services-create-self-signed-certificate CN] [--mysql-studio-https-certificate P] [--mysql-studio-https-private-key P]
[--mysql-shell-https-certificate P] [--mysql-shell-https-private-key P] [--mysql-router-https-certificate P] [--mysql-router-https-private-key P]
Install MySQL AI.
options:
-h, --help show this help message and exit
--cli run in command line mode only
--skip-install do not apply any of the choices made
--script-only Do not install, only output the steps as a shell script
--datadir D The location of the MySQL data directory
--skip-requirements ignore unmet system requirements
--mysql-root-user N the user name of the administrative MySQL user
--mysql-root-password P
the password of the administrative MySQL user
--mysql-root-allow-remote-connections
allow remote connections as the administrative MySQL user
--skip-mysql-studio do not install MySQL Studio
--install-mysql-studio
install MySQL Studio
--mysql-studio-port P
the port to use for the MySQL Studio https server
--skip-mysql-shell-gui
do not install the MySQL Shell GUI service
--install-mysql-shell-gui
install the MySQL Shell GUI service
--mysql-shell-gui-port P
the port to use for the MySQL Shell GUI https server
--skip-mysql-router do not install the MySQL Router service
--install-mysql-router
install the MySQL Router service
--mysql-router-port P
the port to use for the MySQL REST service
--mysql-router-jwt-secret P
the JWT secret to use for MySQL Router
--secure-file-priv P the path to configure for secure file access by mysqld and vector store
--mysql-server-tls-certificate P
the certificate for encrypted connections to use by MySQL Server
--mysql-server-tls-private-key P
the private key for encrypted connections to use by MySQL Server
--skip-ai-encryption disable encryption between MySQL Server and the AI&ML services
--ai-plugin-certificate P
the certificate for encrypted connections to use by the MySQL Server AI&ML plugin
--ai-plugin-private-key P
the private key for encrypted connections to use by the MySQL Server AI&ML plugin
--ai-plugin-common-name P
the common name to use by the MySQL Server AI&ML plugin
--ai-services-certificate P
the certificate for encrypted connections to use by AI&ML services
--ai-services-private-key P
the private key for encrypted connections to use by AI&ML services
--ai-services-common-name P
the common name to use by AI&ML services
--ai-plugin-create-self-signed-certificate CN
create a self-signed certificate for the AI plugin
--ai-services-create-self-signed-certificate CN
create a self-signed certificate for the AI services
--mysql-studio-https-certificate P
the certificate for https connections to use by MySQL Studio
--mysql-studio-https-private-key P
the private key for https connections to use by MySQL Studio
--mysql-shell-https-certificate P
the certificate for https connections to use by the MySQL Shell GUI
--mysql-shell-https-private-key P
the private key for https connections to use by the MySQL Shell GUI
--mysql-router-https-certificate P
the certificate for https connections to use by the MySQL REST Service
--mysql-router-https-private-key P
the private key for https connections to use by the MySQL REST Service
Copyright (c) 2025, Oracle and/or its affiliates.
System requirements not met.
Disk Space: 168.2 G < 512 G!
Note: The requirements check can be disabled with --skip-requirements.
Installation cancelled.
No certificates for communication between MySQL Server and the ML and AI subsystems.
Encryption between these components needs to be disabled explicitly (--skip-ai-encryption).
Installation cancelled.
==============================================================================
Installation finished.
==============================================================================
To access MySQL Studio, navigate to the following
URL in a web browser:
https://honyarara-hogehoge.com:8080/
To access a SQL shell for this MySQL AI instance, navigate to the following
URL in a web browser:
https://honyarara-hogehoge.com:8081/
==============================================================================
mysql> SELECT NAME, TOTAL_ROW_VERSIONS FROM INFORMATION_SCHEMA.INNODB_TABLES
WHERE NAME LIKE 'test/t1';
+---------+--------------------+
| NAME | TOTAL_ROW_VERSIONS |
+---------+--------------------+
| test/t1 | 0 |
+---------+--------------------+
この例はまだ一回もやってないので0になってますが、例えば自分の実行した例だと、
6って出てますよね。
エラーメッセージ
こんなんが出ます。
MySQL Error (4092): Maximum row versions reached for table <db_name>/<table_name>. No more columns can be added or dropped instantly. Please use COPY/INPLACE.