Solved

Can't view any table in phpMyAdmin, MySQL shows an error of 'Got an error reading communication packets' HELP!!! :-)

Posted on 2004-08-11
9
472 Views
Last Modified: 2006-11-17
Hi,

I'm running MySQL 4.0.20-log and PHP Version 5.0.0-dotdeb on Debian 3.0R2. Everything works fine untill i try and browse any table in phpMyAdmin. All i get is a blank page saying "The page cannot be displayed". When i check the MySQL logs i'm getting the following errors :

040811 10:54:19 Aborted connection 9 to db: 'dads' user: 'root' host: `localhost' (Got an error reading communication packets)
040811 10:54:19 Aborted connection 10 to db: 'dads' user: 'root' host: `localhost' (Got an error reading communication packets)
040811 10:54:19 Aborted connection 11 to db: 'dads' user: 'root' host: `localhost' (Got an error reading communication packets)
040811 10:54:19 Aborted connection 12 to db: 'dads' user: 'root' host: `localhost' (Got an error reading communication packets)
040811 10:54:26 Aborted connection 14 to db: 'dads' user: 'root' host: `localhost' (Got an error reading communication packets)
040811 10:54:26 Aborted connection 15 to db: 'dads' user: 'root' host: `localhost' (Got an error reading communication packets)
040811 10:54:27 Aborted connection 16 to db: 'dads' user: 'root' host: `localhost' (Got an error reading communication packets)

This means absolutely nothing to me, so why should there be errors on a new installation like this? does anyone know how to fix it, its driving me mad! ;-)
0
Comment
Question by:matd_
9 Comments
 
LVL 5

Expert Comment

by:winglis4
ID: 11772130
Have you properly setup the path to the phpMyAdmin root directory in /phpMyAdmin/config.inc.php? I have not seen the errors you list from your log, though....

Look for this section - it is right near the top of the file
/**
 * Your phpMyAdmin url
 *
 * Complete the variable below with the full url ie
 *    http://www.your_web.net/path_to_your_phpMyAdmin_directory/
 *
 * It must contain characters that are valid for a URL, and the path is
 * case sensitive on some Web servers, for example Unix-based servers.
 *
 * In most cases you can leave this variable empty, as the correct value
 * will be detected automatically. However, we recommend that you do
 * test to see that the auto-detection code works in your system. A good
 * test is to browse a table, then edit a row and save it.  There will be
 * an error message if phpMyAdmin cannot auto-detect the correct value.
 *
 * If the auto-detection code does work properly, you can set to TRUE the
 * $cfg['PmaAbsoluteUri_DisableWarning'] variable below.
 */
$cfg['PmaAbsoluteUri'] = 'http://localhost/phpMyAdmin/';
0
 

Author Comment

by:matd_
ID: 11772491
No, that has been set corectly. My guess this is some MySQL ro php > MySQL issue as even though it won't let me browse any tables i can still view and set privelages in the phpMyAdmin 'privelages' section.

Somthing else i noticed which i think is very odd, is that i can't type any new value in when i go to insert a record.
0
 
LVL 14

Expert Comment

by:psadac
ID: 11778562
i'm not sure it comes from mysql, but take a look at this  :

http://dev.mysql.com/doc/mysql/en/Communication_errors.html

with php 5 mysql extension is not enabled by default, and there's a new mysql extension called mysqli which does not work with phpmyadmin.  so you should check if the mysql extension is enabled in your phpinfo()
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Expert Comment

by:draconius22
ID: 11988325
Are you shure your firewall accepts connections through the 3306 port at least for your other servers which will access it?
0
 

Author Comment

by:matd_
ID: 13645257
Hi periwinkle,

Please close this question and refund my points. I have solved this problem myself by updating my php and mysql to the latest versions.

Thank you.
0
 

Accepted Solution

by:
ee_ai_construct earned 0 total points
ID: 13692240
PAQed, with points refunded (170)

ee_ai_construct (replacement part #xm34)
Community Support Admin
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In this installment of my SQL tidbits, I will be looking at parsing Extensible Markup Language (XML) directly passed as string parameters to MySQL 5.1.5 or higher. These would be instances where LOAD_FILE (http://dev.mysql.com/doc/refm…
More Fun with XML and MySQL – Parsing Delimited String with a Single SQL Statement Are you ready for another of my SQL tidbits?  Hopefully so, as in this adventure, I will be covering a topic that comes up a lot which is parsing a comma (or other…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now