在 openEuler24.03-LTS-SP1 Arm64 系统下编译mariadb-11.8.3,换其它版本如:10.5.22 10.5.29也试过。
脚本是:install_mariadb_source_v3.sh
mariadb源码包是:mariadb-11.8.3.tar.gz
下面是编译过程部分日志:
MariaDB编译安装成功
./scripts/mysql_install_db: Deprecated program name. It will be removed in a future release, use 'mariadb-install-db' instead
Installing MariaDB/MySQL system tables in '/data/mariadb' ...
OK
To start mariadbd at boot time you have to copy
support-files/mariadb.service to the right place for your system
Two all-privilege accounts were created.
One is root@localhost, it has no password, but you need to
be system 'root' user to connect. Use, for example, sudo mariadb
The second is mysql@localhost, it has no password either, but
you need to be the system 'mysql' user to connect.
After connecting you can set the password, if you would need to be
able to connect as any of these users with a password and without sudo
See the MariaDB Knowledgebase at https://mariadb.com/kb
You can start the MariaDB daemon with:
cd '.' ; ./bin/mariadbd-safe --datadir='/data/mariadb'
You can test the MariaDB daemon with mariadb-test-run.pl
cd './mariadb-test' ; perl mariadb-test-run.pl
Please report any problems at https://mariadb.org/jira
The latest information about MariaDB is available at https://mariadb.org/.
Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
haven't set the root password yet, you should just press enter here.
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
在 openEuler24.03-LTS-SP1 Arm64 系统下编译mariadb-11.8.3,换其它版本如:10.5.22 10.5.29也试过。
脚本是:install_mariadb_source_v3.sh
mariadb源码包是:mariadb-11.8.3.tar.gz
下面是编译过程部分日志:
MariaDB编译安装成功
./scripts/mysql_install_db: Deprecated program name. It will be removed in a future release, use 'mariadb-install-db' instead
Installing MariaDB/MySQL system tables in '/data/mariadb' ...
OK
To start mariadbd at boot time you have to copy
support-files/mariadb.service to the right place for your system
Two all-privilege accounts were created.
One is root@localhost, it has no password, but you need to
be system 'root' user to connect. Use, for example, sudo mariadb
The second is mysql@localhost, it has no password either, but
you need to be the system 'mysql' user to connect.
After connecting you can set the password, if you would need to be
able to connect as any of these users with a password and without sudo
See the MariaDB Knowledgebase at https://mariadb.com/kb
You can start the MariaDB daemon with:
cd '.' ; ./bin/mariadbd-safe --datadir='/data/mariadb'
You can test the MariaDB daemon with mariadb-test-run.pl
cd './mariadb-test' ; perl mariadb-test-run.pl
Please report any problems at https://mariadb.org/jira
The latest information about MariaDB is available at https://mariadb.org/.
Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
haven't set the root password yet, you should just press enter here.
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device
Enter current password for root (enter for none):
stty: 'standard input': Inappropriate ioctl for device
ERROR 2002 (HY000): Can't connect to local server through socket '/data/mariadb/mariadb.sock' (2)
stty: 'standard input': Inappropriate ioctl for device