LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 02-22-2005, 03:18 PM   #1
mhaskell
LQ Newbie
 
Registered: Feb 2005
Distribution: mandrake
Posts: 4

Rep: Reputation: 0
Unhappy phpadmin mysql error


Hello,
I'm running mandrake 10.1. mysql and php installed. Not sure if mysql is starting at startup. When I do phpinfo this is what i get...

Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off

not sure how to troubleshoot this problem.
 
Old 02-22-2005, 06:49 PM   #2
caladbolg
Member
 
Registered: Jul 2004
Distribution: Mandrake 10.x, Fedora Core 3, Archlinux 0.7, Ubuntu 5.04
Posts: 303

Rep: Reputation: 31
Try re-installing MySQL. Also make sure you have the mysql module for php.
 
Old 02-23-2005, 01:32 AM   #3
bunnadik
Member
 
Registered: Jan 2005
Location: Ívik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
Try _starting_ mysql to begin with (before reinstalling). Run 'service mysql start' as root.
Then s 'ps ax | grep mysql' shows if it started.

And you have the mysql module for php since phpinfo showed mysql info.

- Peder
 
Old 02-23-2005, 01:26 PM   #4
mhaskell
LQ Newbie
 
Registered: Feb 2005
Distribution: mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
after type ps ax | grep mysql 12 lines printed ex.

2393 ? s 0:00 /bin/sh /usr/bin/mysql_safe --datadir=/var/lib/mysql --pid_file=/var/lib/mysql/localhost.pid

the other lines have slightly different. Would this be what you would expect to see?
Mike
 
Old 02-24-2005, 01:13 AM   #5
bunnadik
Member
 
Registered: Jan 2005
Location: Ívik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
Yupp, your mysql is up and running. To make sure it's started on next reboot enter ' chkconfig mysql on'

- Peder
 
Old 02-24-2005, 09:58 AM   #6
mhaskell
LQ Newbie
 
Registered: Feb 2005
Distribution: mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the reply. I got no response by entering the command, but I expect that mysql is still working.

What i get when trying to access phpMyAdmin is:

An error occurred while loading
http://127.0.0.1/phpmyadmin/main.php...59-1&server=1:
Timeout on server 127.0.0.1

and

An error occurred while loading
http://127.0.0.1/phpmyadmin/left.php...fef018a328f1a8
Timeout on server 127.0.0.1
 
Old 02-24-2005, 08:40 PM   #7
mhaskell
LQ Newbie
 
Registered: Feb 2005
Distribution: mandrake
Posts: 4

Original Poster
Rep: Reputation: 0
It appears to be working now. Thanks to all for your help!
Mike
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
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 On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 16 12-10-2012 02:34 AM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 01:52 AM
Starting MySQL OLD Error : imeout error occurred trying to start MySQL Daemon Fr33B5D Linux - Software 9 10-28-2006 06:23 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
phpadmin install issue? vbtalent Fedora 1 11-25-2005 07:59 PM


All times are GMT -5. The time now is 07:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration