![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
These are the commands I used. I changed the mysql.socket location and restarted the web server. NOw it can't find the old mysqld_safe process to stop it. I can't kill it with "kill -9 PID" either. It seems like it does kill that PID but then it assigns the old process another PID. |
#3
| |||
| |||
|
|
These are the commands I used. I changed the mysql.socket location and restarted the web server. NOw it can't find the old mysqld_safe process to stop it. I can't kill it with "kill -9 PID" either. It seems like it does kill that PID but then it assigns the old process another PID. sh-3.2# mysqld_safe --user=_mysql 100308 17:00:21 mysqld_safe Logging to '/usr/local/mysql-5.1.40- osx10.5-powerpc-64bit/data/janis-roughs-power-mac-g5.local.err'. 100308 17:00:21 mysqld_safe A mysqld process already exists sh-3.2# mysqld_safe shutdown 100308 17:01:35 mysqld_safe Logging to '/usr/local/mysql-5.1.40- osx10.5-powerpc-64bit/data/janis-roughs-power-mac-g5.local.err'. 100308 17:01:35 mysqld_safe A mysqld process already exists sh-3.2# mysqladmin -u root -p shutdown Enter password: mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/tmp/ mysql.sock' (2)' Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists! sh-3.2# sudo mysqld_safe 100308 17:03:10 mysqld_safe Logging to '/usr/local/mysql-5.1.40- osx10.5-powerpc-64bit/data/janis-roughs-power-mac-g5.local.err'. 100308 17:03:10 mysqld_safe A mysqld process already exists thanks, |
#4
| |||
| |||
|
|
JRough wrote: These are the commands I used. *I changed the mysql.socket location and restarted the web server. *NOw it can't find the old mysqld_safe process to stop it. *I can't kill it with "kill -9 PID" either. *It seems like it does kill that PID but then it assigns the old process another PID. Why did you try and change it while MySQL was running? *No wonder it didn't work! Change it back, stop MySQL, and make your changes. *Then start MySQL with the new parameters. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstuck... (AT) attglobal (DOT) net ================== |
#5
| |||
| |||
|
|
On Mar 8, 5:27 pm, Jerry Stuckle <jstuck... (AT) attglobal (DOT) net> wrote: JRough wrote: These are the commands I used. I changed the mysql.socket location and restarted the web server. NOw it can't find the old mysqld_safe process to stop it. I can't kill it with "kill -9 PID" either. It seems like it does kill that PID but then it assigns the old process another PID. Why did you try and change it while MySQL was running? No wonder it didn't work! Change it back, stop MySQL, and make your changes. Then start MySQL with the new parameters. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstuck... (AT) attglobal (DOT) net ================== I tried that, anyother suggestion? |
#6
| |||
| |||
|
|
JRough wrote: These are the commands I used. *I changed the mysql.socket location and restarted the web server. *NOw it can't find the old mysqld_safe process to stop it. *I can't kill it with "kill -9 PID" either. *It seems like it does kill that PID but then it assigns the old process another PID. Why did you try and change it while MySQL was running? *No wonder it didn't work! Change it back, stop MySQL, and make your changes. *Then start MySQL with the new parameters. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstuck... (AT) attglobal (DOT) net ================== This is the process that won't shut down: |
#7
| |||
| |||
|
|
On Mar 8, 5:27 pm, Jerry Stuckle <jstuck... (AT) attglobal (DOT) net> wrote: JRough wrote: These are the commands I used. I changed the mysql.socket location and restarted the web server. NOw it can't find the old mysqld_safe process to stop it. I can't kill it with "kill -9 PID" either. It seems like it does kill that PID but then it assigns the old process another PID. Why did you try and change it while MySQL was running? No wonder it didn't work! Change it back, stop MySQL, and make your changes. Then start MySQL with the new parameters. I tried that, anyother suggestion? |
#8
| |||
| |||
|
|
Ignore Jerry? |
#9
| |||
| |||
|
|
Innews:hn4b5i$u03$1 (AT) news (DOT) albasani.net, The Natural Philosopher <t... (AT) invalid (DOT) invalid> typed: Ignore Jerry? Interesting that you would ridicule him in c.l.p. for the exact same weekly status you hold in this newsgroup, except that you had even less original content: "Caveat: Quantity is not necessarily a measure of Quality" *Newsgroup.................: comp.databases.mysql ... *Top 10 Prolific Posters: Posts / Posts per Day / Percent Share *====================================== * *1. The Natural Philosopher...........................: * 9 *1.3 *8.8% ... *Top 10 Bandwidth-Using Posters: kBytes / kBytes per Day / Percent Share *====================================== * *1. The Natural Philosopher...........................: *37 *5.4 13.8% ... *Top 10 Original Content Ratings: (Original Bytes) / (Orig. + Quoted Bytes) *================================================= ========================= ... * *4. Jerry Stuckle........................................... ..: *19.1% * *5. The Natural Philosopher...................................: *18.2% |
#10
| |||
| |||
|
|
On Mar 8, 6:53 pm, "Greg Russell" <gruss... (AT) invalid (DOT) com> wrote: Innews:hn4b5i$u03$1 (AT) news (DOT) albasani.net, The Natural Philosopher <t... (AT) invalid (DOT) invalid> typed: Ignore Jerry? Interesting that you would ridicule him in c.l.p. for the exact same weekly status you hold in this newsgroup, except that you had even less original content: "Caveat: Quantity is not necessarily a measure of Quality" Newsgroup.................: comp.databases.mysql ... Top 10 Prolific Posters: Posts / Posts per Day / Percent Share ====================================== 1. The Natural Philosopher...........................: 9 1.3 8.8% ... Top 10 Bandwidth-Using Posters: kBytes / kBytes per Day / Percent Share ====================================== 1. The Natural Philosopher...........................: 37 5.4 13.8% ... Top 10 Original Content Ratings: (Original Bytes) / (Orig. + Quoted Bytes) ================================================== ======================== ... 4. Jerry Stuckle........................................... ..: 19.1% 5. The Natural Philosopher...................................: 18.2% I should have thought of restarting my computer. It got rid of the pid and now the mysql.sock error is gone too. Thank you all. |
![]() |
| Thread Tools | |
| Display Modes | |
| |