Debian 10 install fails invalid user: mysql

shineon

New member
Joined
Mar 1, 2012
Messages
3
Hello, I have make a fress install of debian 10 and install Directadmin with ./setup.sh auto

The install fails by install mysql.

What do I wrong?

/usr/bin/id: 'mysql': no such user
./build: line 13236: adduser: command not found
chown: invalid user: 'mysql:mysql'
Cannot find /usr/bin/mysqldump
ensure_my_cnf: cannot find /usr/local/directadmin/conf/mysql.conf
Setting mysql_milestone_16=1 in directadmin.conf.
--2019-12-07 13:11:03-- https://files6.directadmin.com/services/all/mysql/5.7/5.7.27/64-bit/mysql-5.7.27-linux-glibc2.12-x86_64.tar.gz
Resolving files6.directadmin.com (files6.directadmin.com)... 62.148.174.106, 2001:16e8:1:c:62:148:174:106
Connecting to files6.directadmin.com (files6.directadmin.com)|62.148.174.106|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 644916075 (615M) [application/x-gzip]
Saving to: 'mysql-5.7.27-linux-glibc2.12-x86_64.tar.gz'

mysql-5.7.27-linux-glibc2.12-x86 100%[=======================================================>] 615.04M 53.8MB/s in 11s

2019-12-07 13:11:15 (54.3 MB/s) - 'mysql-5.7.27-linux-glibc2.12-x86_64.tar.gz' saved [644916075/644916075]

mv: 'mysql-5.7.27-linux-glibc2.12-x86_64.tar.gz' and '/usr/local/mysql-5.7.27-linux-glibc2.12-x86_64.tar.gz' are the same file
Stopping mysqld ...
Created symlink /etc/systemd/system/multi-user.target.wants/mysqld.service -> /etc/systemd/system/mysqld.service.
chown: invalid user: 'mysql:mysql'
chown: invalid user: 'mysql:mysql'
Linking /usr/local/mysql/bin/innochecksum -> /usr/local/bin/innochecksum...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/lz4_decompress -> /usr/local/bin/lz4_decompress...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/my_print_defaults -> /usr/local/bin/my_print_defaults...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/myisam_ftdump -> /usr/local/bin/myisam_ftdump...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/myisamchk -> /usr/local/bin/myisamchk...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/myisamlog -> /usr/local/bin/myisamlog...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/myisampack -> /usr/local/bin/myisampack...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysql -> /usr/local/bin/mysql...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysql_client_test_embedded -> /usr/local/bin/mysql_client_test_embedded...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysql_config -> /usr/local/bin/mysql_config...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysql_config_editor -> /usr/local/bin/mysql_config_editor...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysql_embedded -> /usr/local/bin/mysql_embedded...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysql_install_db -> /usr/local/bin/mysql_install_db...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysql_plugin -> /usr/local/bin/mysql_plugin...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysql_secure_installation -> /usr/local/bin/mysql_secure_installation...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysql_ssl_rsa_setup -> /usr/local/bin/mysql_ssl_rsa_setup...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysql_tzinfo_to_sql -> /usr/local/bin/mysql_tzinfo_to_sql...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysql_upgrade -> /usr/local/bin/mysql_upgrade...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysqladmin -> /usr/local/bin/mysqladmin...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysqlbinlog -> /usr/local/bin/mysqlbinlog...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysqlcheck -> /usr/local/bin/mysqlcheck...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysqld -> /usr/local/bin/mysqld...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysqld-debug -> /usr/local/bin/mysqld-debug...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysqld_multi -> /usr/local/bin/mysqld_multi...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysqld_safe -> /usr/local/bin/mysqld_safe...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysqldump -> /usr/local/bin/mysqldump...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysqldumpslow -> /usr/local/bin/mysqldumpslow...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysqlimport -> /usr/local/bin/mysqlimport...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysqlpump -> /usr/local/bin/mysqlpump...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysqlshow -> /usr/local/bin/mysqlshow...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysqlslap -> /usr/local/bin/mysqlslap...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysqltest_embedded -> /usr/local/bin/mysqltest_embedded...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/mysqlxtest -> /usr/local/bin/mysqlxtest...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/perror -> /usr/local/bin/perror...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/replace -> /usr/local/bin/replace...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/resolve_stack_dump -> /usr/local/bin/resolve_stack_dump...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/resolveip -> /usr/local/bin/resolveip...
chown: invalid user: 'mysql.'
Linking /usr/local/mysql/bin/zlib_decompress -> /usr/local/bin/zlib_decompress...
chown: invalid user: 'mysql.'
chown: invalid user: 'mysql:mysql'
Ensuring local-infile is disabled for security reasons in MySQL configuration file...
/home/mysql/mysql does not exist, running clean mysql data installation...
chown: invalid user: 'mysql:mysql'
2019-12-07 13:11:37 [WARNING] mysql_install_db is deprecated. Please consider switching to mysqld --initialize
2019-12-07 13:11:37 [ERROR] Failed to verify user id 'mysql'. Does it exist?
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/usr/local/mysql/data/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/usr/local/mysql/data/mysql.sock' exists!
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/usr/local/mysql/data/mysql.sock' (2)
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/usr/local/mysql/data/mysql.sock' (2)
Unable to login using root MySQL credentials. Aborting installation...
Changed secure_php option from no to yes
PHP has been secured.
Restarting php-fpm72.
 
Top