Jump to content

phpmyadmin not working since I installed 2006


photoworks
 Share

Recommended Posts

i looked into /etc/init.d/

i tried to restart postgresql

when i do that, it tells me

 

[failed]

 

an old version ot the database format was found

you need to upgrade the data format before using Postgresql

see your (system documentation dictory)/postgresql:8.0/readme . rpm-dist for m

 

 

could it be that this service (not started)prevent php my admin to start correctly ?

Link to comment
Share on other sites

  • Replies 32
  • Created
  • Last Reply

Top Posters In This Topic

first, try to check your httpd.conf, usually when you upgrade the system, some of the config files will be set to the defaults of the new application related to it.. say.. usually your old httpd.conf will become httpd.conf.rpmsave, check if that exists...

 

then, I dont know if phpmyadmin depend on postgresql, I have'nt tried it, it usually depend and used for mysql.

Link to comment
Share on other sites

For php myadmin to work on my machine, i need to install those packages, is that correct, or did i forget to mention some ?

 

apache-base-2.0.54-13mdk.i586

apache-conf-2.0.54-12mdk.i586

apache-mod_php-2.0.54_5.0.4-4mdk.i586

apache-modules-2.0.54-13mdk.i586

apache-mpm-prefork-2.0.54-13mdk.i586

libmysql14-4.1.12-3mdk.i586

php-ini-5.0.4-4mdk.i586

php-mysql-5.0.4-1mdk.i586

phpMyAdmin-2.6.4-2mdk.noarch

Link to comment
Share on other sites

ok, after reinstalling all the module needed, now, when i type :

http://127.0.0.1/admin/phpMyAdmin/index.php

 

it ask me for a username and password.

 

i assume the username is root

 

as for the password, i tried the empty field, my root password, but i cannot connect.

it tells me :

 

Welcome to phpMyAdmin 2.6.4-pl1

 

Wrong username/password. Access denied.

 

What else is wrong ?

 

:cry::cry::help::help::help:

Link to comment
Share on other sites

this is from http://www.phpmyadmin.net/documentation/#faqmultiuser

 

[4.4] phpMyAdmin always gives "Access denied" when using HTTP authentication.

 

This could happen for several reasons:

 

    * $cfg['Servers'][$i]['controluser'] and/or $cfg['Servers'][$i]['controlpass'] are wrong.

    * The username/password you specify in the login-dialog are invalid.

    * You have already setup a security mechanism for the phpMyAdmin-directory, eg. a .htaccess file. This would interfere with phpMyAdmin's authentication, so remove it.

Link to comment
Share on other sites

this portion I think...

 

$cfg['Servers'][$i]['auth_type']    = 'http';    // Authentication method (config, http or cookie based)?

$cfg['Servers'][$i]['user']          = 'mysqluser';      // MySQL user

$cfg['Servers'][$i]['password']      = 'mysqluserpassword';          // MySQL password (only needed

 

 

if you have'nt set a password for your root on your mysql, try to change the auth_type to config instead of http

Link to comment
Share on other sites

this is from http://www.phpmyadmin.net/documentation/#faqmultiuser

 

[4.4] phpMyAdmin always gives "Access denied" when using HTTP authentication.

 

This could happen for several reasons:

 

    * $cfg['Servers'][$i]['controluser'] and/or $cfg['Servers'][$i]['controlpass'] are wrong.

    * The username/password you specify in the login-dialog are invalid.

    * You have already setup a security mechanism for the phpMyAdmin-directory, eg. a .htaccess file. This would interfere with phpMyAdmin's authentication, so remove it.

 

 

Where is located the >htaccess file ? i do not see it in phpmyadmin directory.

Link to comment
Share on other sites

The only other thing I see different between our config files is line 82. Mine looks like this:

$cfg['Servers'][$i]['auth_type']     = 'cookie';

 

Have we verified MySQL is running ? In a terminal... su to root and type in this:

service mysql status

If so, it will say, "mysqld (pid #) is running..."

 

Otherwise, I am running out of ideas.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
×
  • Create New...