Debian with PHP4/MySQL/Apache and phpmyadmin ;)

How to use phpmyadmin.... phpmyadmin related arguments. Even phpMyAdmin issues

Moderators: egami, macek, gesf

Post Reply

Tue May 18, 2004 10:19 am

Hi, i've installed phpmyadmin today on my server. My server is working like a charm, so i write http://localhost/phpmyadmin in konqueror and it shows the index page of phpmyadmin. I type my username (root) and my password. But it shows me back the index page with errors. Here are the errors.

Warning: Cannot add header information - headers already sent by (output started at /etc/phpmyadmin/ in /usr/share/phpmyadmin/libraries/auth/cookie.auth.lib.php on line 353

Warning: Cannot add header information - headers already sent by (output started at /etc/phpmyadmin/ in /usr/share/phpmyadmin/libraries/auth/cookie.auth.lib.php on line 355

Warning: Cannot add header information - headers already sent by (output started at /etc/phpmyadmin/ in /usr/share/phpmyadmin/libraries/auth/cookie.auth.lib.php on line 372

I've heard about something that could be wrong with my encoding, i choosed 8859-1 when i installed my system. I've used tasksel so it installed postgresql, mysql never asked me about encoding. But it could be something else ? :eek:

Any ideas ? Thanks !

User avatar
php-forum Super User
php-forum Super User
Posts: 1279
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India

Tue May 18, 2004 7:48 pm

postgresql.. ?
have you installed mysql ?
if yes... then please check the config.php... must be errors over there


Wed May 19, 2004 4:01 pm

Hi, i have the 2.2.3 version that i've get using apt-get install phpmyadmin in debian. This is my config.php file, the lines the i've touched...


/* $Id:,v 1.62 2001/12/23 23:05:23 lem9 Exp $ */

* phpMyAdmin Configuration File
* All directives are explained in Documentation.html

* Bookmark Table Structure
* CREATE TABLE bookmark (
* id int(11) DEFAULT '0' NOT NULL auto_increment,
* dbase varchar(255) NOT NULL,
* user varchar(255) NOT NULL,
* label varchar(255) NOT NULL,
* query text NOT NULL,
* );

* Your phpMyAdmin url
* Complete the variable below with the full url ie
$cfgPmaAbsoluteUri = '';

* Server(s) configuration
// The $cfgServers array starts with $cfgServers[1]. Do not use $cfgServers[0].
// You can disable a server config entry by setting host to ''.
$cfgServers[1]['host'] = 'localhost'; // MySQL hostname
$cfgServers[1]['port'] = ''; // MySQL port - leave blank for default port
$cfgServers[1]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfgServers[1]['connect_type'] = 'socket'; // How to connect to MySQL server ('tcp' or 'socket')
$cfgServers[1]['stduser'] = 'root'; // MySQL standard user settings (this user must have read-only
$cfgServers[1]['stdpass'] = 'password'; // access to the "mysql/user" and "mysql/db" tables)
$cfgServers[1]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)?
$cfgServers[1]['user'] = 'root'; // MySQL user
$cfgServers[1]['password'] = 'password'; // MySQL password (only needed with 'config' auth)
$cfgServers[1]['only_db'] = ''; // If set to a db-name, only this db is displayed at left frame
// It may also be an array of db-names
$cfgServers[1]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
$cfgServers[1]['bookmarkdb'] = ''; // Bookmark db - leave blank for no bookmark support
$cfgServers[1]['bookmarktable'] = ''; // Bookmark table - leave blank for no bookmark support


Fri May 21, 2004 10:54 am

Does somebody can answer my question, im trying to make phpmyadmin work for weeks, but no one can help me .. ?

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest