You are here: Re: How to configure MySql support? « PHP Programming Language « IT news, forums, messages
Re: How to configure MySql support?

Posted by deko on 06/10/07 03:54

got it working:

myserver [/etc/phpmyadmin] # vi config.inc.php
<?php
$i = 0;
$i++;
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
$cfg['Servers'][$i]['port'] = ''; // MySQL port (leave blank for
default port)
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method: config,
http, or cookie
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password
?>

myserver [/usr/share/phpmyadmin] # vi phpinfo.php
<?php
phpinfo();
?>

For some reason the default phpinfo.php does not work - just returns a blank
page.

Getting the correct packages installed was half the battle... understanding the
Debian packaging system (apt, aptitude, dpkg, dselect) and knowing how to
configure everything with all the Debian Etch platform-specific peculiarities...
all without documentation.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация