VnLamp

Go Back   VnLamp > Khu vực Training > Linux Advance > Mysql Server/Cilent

Trả lời
 
LinkBack Ðiều Chỉnh Xếp Bài
PHPMyAdmin báo lỗi "Your configuration file contains settings (root with no password)
Old
  (#1 (permalink))
 
Status: Offline
Posts: 2
Tham gia: Jun 2011
Học viên VNLAMP
Question PHPMyAdmin báo lỗi "Your configuration file contains settings (root with no password) - 22-06-2011, 17:22 22-06-2011

Chào cả nhà

Mình cài xong PHPMyadmin thì trên trang chủ báo lỗi này, và không có quyền tạo thêm Database mới

Code:
Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole.
Dưới đây là config của php my admin

Code:
<?php
$cfg['blowfish_secret'] = 'hungng'; 
$i = 0;
$i++;
$cfg['Servers'][$i][1]['auth_type'] = 'cookie';
$cfg['Servers'][$i][1]['host'] = '192.168.198.131';
$cfg['Servers'][$i][1]['connect_type'] = 'tcp';
$cfg['Servers'][$i][1]['compress'] = false;
$cfg['Servers'][$i][1]['extension'] = 'mysql';
$cfg['Servers'][$i][1]['controluser'] = 'root';
$cfg['Servers'][$i][1]['controlpass'] = 'hungng89';
$cfg['Servers'][$i]['pmadb'] = 'mysql';

$i++;
$cfg['Servers'][$i][2]['auth_type'] = 'cookie';
$cfg['Servers'][$i][2]['host'] = '192.168.198.131';
$cfg['Servers'][$i][2]['connect_type'] = 'tcp';
$cfg['Servers'][$i][2]['compress'] = false;
$cfg['Servers'][$i][2]['extension'] = 'mysql';

$cfg['DisplayServersList']    = TRUE;
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';

?>
Ai có lời khuyên hay link tham khảo nào về phpmyadmin cho mình với

Xin cám ơn
   
Trả Lời Với Trích Dẫn
Old
  (#2 (permalink))
LM
 
Status: Offline
Posts: 195
Tham gia: Dec 2007
BQT VNLAMP
 
LM's Avatar
Default 26-06-2011, 00:26 26-06-2011

Bạn dịch sai ý câu báo lỗi...

Sửa config lại , config khúc này là có 2 conn đến 02 serv. Bạn tự nghiệm ra với config của mình nhé


PHP Code:
$i++;
/* Authentication type */
$cfg['Servers'][1]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][1]['host'] = '<server1>';
$cfg['Servers'][1]['connect_type'] = 'tcp';
$cfg['Servers'][1]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][1]['extension'] = 'mysql';
$cfg['Servers'][1]['AllowNoPassword'] = false;


$cfg['Servers'][2]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][2]['host'] = '<server2>';
$cfg['Servers'][2]['connect_type'] = 'tcp';
$cfg['Servers'][2]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][2]['extension'] = 'mysql';
$cfg['Servers'][2]['AllowNoPassword'] = false


I'm quit.
   
Trả Lời Với Trích Dẫn
Old
  (#3 (permalink))
 
Status: Offline
Posts: 2
Tham gia: Jun 2011
Học viên VNLAMP
Default 27-06-2011, 12:27 27-06-2011

Cám ơn thầy rất nhiều . Em đã fix được rồi .
Nếu không fix kịp thì ko theo nổi tốc độ của thầy Hehehee
   
Trả Lời Với Trích Dẫn
Trả lời


Ðiều Chỉnh
Xếp Bài

Quyền Sử Dụng Ở Diễn Ðàn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Smilies đang Mở
[IMG] đang Mở
HTML đang Tắt
Trackbacks are Mở
Pingbacks are Mở
Refbacks are Mở


Múi giờ GMT. Hiện tại là 02:23 23-05-2012.