Saya baru saja menginstal phpMyAdmin di lokal saya (menjalankan Apache & windows). Masalah saya adalah, saya terus mendapatkan kesalahan ini:

2002 Tidak dapat masuk ke server MySQL

Saya telah memeriksa file kesalahan, dan itu menunjukkan:

httpd.exe: Could not reliably determine the server's fully qualified domain 
name, using xxxxx for ServerName
[Wed Dec 20 10:33:48 2017] [notice] Digest: generating secret for digest 
authentication ...
[Wed Dec 20 10:33:48 2017] [notice] Digest: done
[Wed Dec 20 10:33:48 2017] [notice] Child 8680: Child process is running
[Wed Dec 20 10:33:48 2017] [notice] Child 8680: Acquired the start mutex.
[Wed Dec 20 10:33:48 2017] [notice] Child 8680: Starting 64 worker threads.
[Wed Dec 20 10:33:48 2017] [notice] Child 8680: Starting thread to listen on 
port 10081.
[Wed Dec 20 10:33:48 2017] [notice] Child 8680: Starting thread to listen on 
port 80.
[Wed Dec 20 10:33:48 2017] [notice] Child 1096: All worker threads have 
exited.
[Wed Dec 20 10:33:49 2017] [notice] Child 1096: Child process is exiting"

Apa artinya dan bagaimana saya bisa mengatasi masalah ini? Terima kasih sebelumnya :)

0
aemy 20 Desember 2017, 05:56

1 menjawab

Jawaban Terbaik

Periksa file my.cnf Anda, dan mulai mode soket, sama seperti

$cfg['Servers'][$i]['socket'] = '/tmp/mysql.sock';
$cfg['Servers'][$i]['connect_type'] = 'socket';

Dan coba akses

0
Zhu Zhaohua 20 Desember 2017, 04:17