Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1285553
  • 博文数量: 315
  • 博客积分: 10397
  • 博客等级: 上将
  • 技术积分: 3731
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-07 21:21
文章分类

全部博文(315)

文章存档

2015年(10)

2014年(3)

2013年(2)

2012年(8)

2011年(8)

2010年(29)

2009年(59)

2008年(77)

2007年(119)

分类:

2009-03-23 15:08:19

Go to /path/to/phpmyadmin/config.inc.php (or something similar)

Change these settings:

$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = 'yourpass';

(don't forget to give user pma a password otherweise people can easily see your table design info)

/////////////////////////////////////////////////////////////////////////////////

Now change the names of the databases like beneath (note that table names are case sensitive, use lower pma):

$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';

/////////////////////////////////////////////////////////////////////////

As final you must run a SQL script that you can find in:

/path/to/phpmyadmin/scripts/create_tables_mysql_4_1_2+.sql
simply execute this sql with the phpmyadmin import function and it will create phpmyadmin database and tables defined above.

DESIGNER MODE IS NOW AVAILABLE
阅读(834) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~