![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Apr 2002
Location: Orlando, FL
Posts: 3,711
|
mysql question need help
i can't figure out why this is happening..
Processes are being created on the mysql machine, over 167, so it must be recognizing the connections... just no data is being transferred. WTF ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Feb 2002
Location: Las Vegas
Posts: 6,504
|
restart the server
__________________
112.020.756 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Registered User
Join Date: Sep 2003
Location: Hollywood, CA
Posts: 53
|
What do you mean no data is being transferred? You can't run any queries?
If the processes are sleeping, that's just because they're idle. Fine tune your settings and kill off some of your persistent connections. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Feb 2002
Location: Las Vegas
Posts: 6,504
|
format the machine
__________________
112.020.756 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Join Date: Apr 2002
Location: Orlando, FL
Posts: 3,711
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Feb 2002
Location: Las Vegas
Posts: 6,504
|
put a new fan in the machine
__________________
112.020.756 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Apr 2002
Location: /root/
Posts: 4,997
|
well
it doesn't matter if its a "duel" or not with a bad query and a bad table structure you can kill all the duels in the world. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Registered User
Join Date: Sep 2003
Location: Hollywood, CA
Posts: 53
|
So what is actually happening? Using the shell on one machine, can you connect to the other's SQL?
server# mysql -u USER -h OTHERSERVER -p DATABASE If you don't know your password and get an error, at least it's connecting. If it's not connecting, make sure your bind address is not 127.0.0.1 in my.cnf. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Registered User
Join Date: Sep 2003
Location: Hollywood, CA
Posts: 53
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Feb 2002
Location: Las Vegas
Posts: 6,504
|
It could be the color of your cat5 cable
try a red one then try a blue one
__________________
112.020.756 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Confirmed User
Join Date: Apr 2002
Location: Orlando, FL
Posts: 3,711
|
Quote:
Enter password: above seems to hang forever. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Registered User
Join Date: Sep 2003
Location: Hollywood, CA
Posts: 53
|
Running iptables on the other box?
If you do a 'netstat -l' do you see it listening (LISTEN) on the 3306/mysql port? You'll see something like a *:3306 in there. You try restarting mysql or rebooting like tical said? Did this ever work? You did a show processes on the other box? Can you connect locally? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
Confirmed User
Join Date: Apr 2002
Location: Orlando, FL
Posts: 3,711
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Registered User
Join Date: Sep 2003
Location: Hollywood, CA
Posts: 53
|
You able to connect to it at all from any place at all?
Did this ever work? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Confirmed User
Join Date: Apr 2002
Location: Orlando, FL
Posts: 3,711
|
Quote:
mysql -u root -h localhost -p *****_phpbb and this is a brand new server setup so no it has never worked before |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Registered User
Join Date: Sep 2003
Location: Hollywood, CA
Posts: 53
|
To test, try stopping iptables completely.
Maybe paste your my.cnf too. |
![]() |
![]() ![]() ![]() ![]() ![]() |