lampTermux
lampTermux copied to clipboard
ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'
I can not change default database to mysql
get out of mysql and then login again with 'mysql -u root -p' it ask you for password just press enter and thats it now you can use 'use mysql'
Edit your config.inc.php
- cd /data/data/com.termux/files/etc/usr/phpmyadmin
- nano config.inc.php3
- Edit $cfg['Servers'][$i]['host'] = '127.0.0.1';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
- Restart apache and mysql with command lamp