[ask] error localhost/phpmyadmin/

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
User avatar
koyanote
Posts: 1
Joined: 18 Mar 2015, 00:35

[ask] error localhost/phpmyadmin/

Postby koyanote » 03 Apr 2015, 12:29

gan gan mau tanya, saya kan mau setting mysql server sama phpmyadmin kok malah keluar error yah pas akses localhost/phpmyadmin/ ?? mohon bantuan nya gan. need help banget. distro yg saya pake linux mint gan. contoh error nya ada di lapiran file nya gan. terima kasih.
Attachments
Screenshot from 2015-04-02 20:45:40.png
Screenshot from 2015-04-02 20:45:40.png (64.5 KiB) Viewed 255 times
User avatar
bang_andi
Posts: 398
Joined: 03 Sep 2010, 09:07
Location: Di sekitar sungai musi...
Contact:

Re: [ask] error localhost/phpmyadmin/

Postby bang_andi » 03 Apr 2015, 19:35

ini sepertinya ada kesalahan instalasi/compile php atau mysql atau konfigurasinya yg salah, maaf baca tutorialnya dimana?
User avatar
bang_andi
Posts: 398
Joined: 03 Sep 2010, 09:07
Location: Di sekitar sungai musi...
Contact:

Re: [ask] error localhost/phpmyadmin/

Postby bang_andi » 03 Apr 2015, 19:54

klo merasa install/compile sdh benar.

coba cek konfigurasi, buka llu edit sprti ini ;

Code: Select all

$cfg['Servers'][$i]['host'] = 'localhost';


menjadi,

Code: Select all

$cfg['Servers'][$i]['host'] = '127.0.0.1';


dan coba jg,

biarkan kosong agar ter set default secara otomatis,

Code: Select all

$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';

atau jika coba di isi,

Code: Select all

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

dlm kasusmu soketnya ter set =' /var/run/mysqld/mysqld.sock' namun tidak bisa ditemukan oleh sistem.

jgn lupa service llu di restart.
User avatar
bang_andi
Posts: 398
Joined: 03 Sep 2010, 09:07
Location: Di sekitar sungai musi...
Contact:

Re: [ask] error localhost/phpmyadmin/

Postby bang_andi » 03 Apr 2015, 20:30

bisa juga cek letak yg benar socket mysqld mu dg cara,

buat file info.php di /var/www

Code: Select all

sudo nano /var/www/info.php


llu di isi dg,

Code: Select all

 <?php
// Show all information, defaults to INFO_ALL
phpinfo();
 ?>


simpan dan akses dg http://ip-address/info.php

cari dg ctrl+F letak socket nya.

Return to “Pertanyaan Umum”

Who is online

Users browsing this forum: No registered users and 6 guests