Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL does not work ! #17

Open
matveyb9 opened this issue Jun 18, 2024 · 1 comment
Open

MySQL does not work ! #17

matveyb9 opened this issue Jun 18, 2024 · 1 comment

Comments

@matveyb9
Copy link

Hello, dear developers.

I have a problem: after a recent update, the MySQL server (MariaDB) does not work!

  1. When you enter the mysql or mariadb command, the following error is displayed:
ERROR 2002 (HY000): Can't connect to local server through socket '/data/data/com.termux/files/usr/var/run/mysqld.sock' (111)
  1. When you try to manually start the MariaDb server (mysqld or mariadbd command), the following error is displayed:
2024-06-18 11:24:20 0 [Note] Starting MariaDB 11.4.2-MariaDB source revision 3fca5ed772fb75e3e57c507edef2985f8eba5b12 as process 12218
2024-06-18 11:24:20 0 [ERROR] mysqld: Can't lock aria control file '/data/data/com.termux/files/usr/var/lib/mysql/aria_log_control' for exclusive use, error : 11. Will retry for 30 seconds
2024-06-18 11:24:41 0 [Note] InnoDB: Compressed tables use zlib 1.3.1
2024-06-18 11:24:41 0 [Note] InnoDB: Number of transaction pools: 1
2024-06-18 11:24:41 0 [Note] InnoDB: Using generic crc32 instructions
2024-06-18 11:24:41 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
2024-06-18 11:24:41 0 [Note] InnoDB: Completed initialization of buffer pool
2024-06-18 11:24:41 0 [Note] InnoDB: Buffered log writes (block size=512 bytes)
2024-06-18 11:24:41 0 [Note] InnoDB: End of log at LSN=37808
2024-06-18 11:24:41 0 [Note] InnoDB: Opened 3 undo tablespaces
2024-06-18 11:24:41 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
2024-06-18 11:24:41 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait...
2024-06-18 11:24:41 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
2024-06-18 11:24:41 0 [Note] InnoDB: log sequence number 37808; transaction id 4
2024-06-18 11:24:41 0 [Note] Plugin 'FEEDBACK' is disabled.
2024-06-18 11:24:41 0 [ERROR] Could not open mysql.plugin table: "Table 'mysql.plugin' doesn't exist." Some plugins may not be loaded
2024-06-18 11:24:41 0 [Note] InnoDB: Loading buffer pool(s) from /data/data/com.termux/files/usr/var/lib/mysql/ib_buffer_pool
2024-06-18 11:24:41 0 [Note] InnoDB: Buffer pool(s) load completed at 240618 11:24:41
2024-06-18 11:24:41 0 [ERROR] mysqld: File './ddl_recovery.log' not found (Errcode: 2 "No such file or directory")
2024-06-18 11:24:41 0 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
2024-06-18 11:24:53 0 [Note] Server socket created on IP: '::'.
2024-06-18 11:24:53 0 [Note] Server socket created on IP: '0.0.0.0'.
2024-06-18 11:24:53 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.db' doesn't exist
2024-06-18 11:24:53 0 [ERROR] Abortion
  1. When you try to log into PhpMyAdmin, the following error is displayed.
    Screenshot_20240618-201759

Help me please solve this problem.

@armandwipangestu
Copy link
Member

i think this error because the package mysql or mariadb updated from termux repository, so i can't help if the problem is that. You must be report to the Termux Telegram or Reddit or maybe open issue on Termux repository

because currently i'm still using the old version and the lamp script still work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants