Minggu, 27 Januari 2013

Mengganti Password Xampp linux


xampp defaultnya memang tidak menggunakan password tapi jika anda ingin menggunakan password maka lagkahnya sebagai berikut
edit file config.inc.php 
#nano /opt/lampp/phpmyadmin config.inc.php

kemudian cari text berikut 
/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['AllowNoPassword'] = true;


gantiu dengan 
/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'root';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['AllowNoPassword'] = false;

kemudian save ctrl+x, y , enter

kemudian ganti securitynya 

#/opt/lampp/lampp security

kemudian ketikan "yes"
dan masukkan password anda untuk diberikan ke
- xampp page
- mysql
-  ftp

setelah itu masuk pertama kali gunakan username "lampp" dan password "password yang anda berikan"
baru kemudian  setelah masuk ke halaman awal xampp gunakan username "root" dan password "root"

0 komentar:

Posting Komentar

 

Linux Copyright © 2011 -- Template created by Predator -- Powered by Aliens