![]() |
|
| Domain Name Sales | Domain Software | Calculate UK Domain Drop Dates | Domain Registration | NameDrive | Domain Parking | Subscribe to our Domains For Sale newsletter |
| | ||||||
| Home | Register | Rules | Membership Upgrade | Domains For Sale | Domain Name Escrow | Mark Forums Read | Domain Classified | Chat Room |
| Scripts and Coding PHP, MySQL, scripts |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) | ||
![]() | MySql problems
Following a Red Hat Linux server restart (which may well have enacted some updates) I am unable to start/restart mysql: Quote:
Quote:
to point to both mysql.sock files I can find on the machine, neither helps. Any ideas? | ||
| |
| | #2 (permalink) |
![]() |
What does the mysql error file say? It'll be somewhere like /var/lib/mysql/{hostname}.err Where {hostname} is the hostname of the machine.
__________________ UK Web Design & Development Airport Car Parking | Business Help & Advice | Critical Illness Insurance | Smoothie Recipes | Baby Name Books |
| |
| | #3 (permalink) |
![]() |
looks like the mysql process that the pid - process ID file holds has died. In the past I've emptied - not removed that file. On rare ocassions I've had to create it as well. Start and stop mysql to see if it's ok. It may have left tables in a crashed (unclosed correctly) state which need repairing - either through mysqlcheck or myisamchk (with mysql off). If you use phpMyAdmin then that will have repair options. I prefer myisamchk (if the db used myisam - default) but you need root/mysql permissions to run that. S |
| |
| | #4 (permalink) | ||
![]() |
Thank you for the suggestions - the below is the results from trying them: Quote:
Quote:
I've run the following commands service iptables stop iptables --flush | ||
| |
| | #5 (permalink) |
![]() |
Is this a cPanel machine? Do you have a "basedir=" entry in your /etc/my.cnf?
__________________ Craig Robinson - UKDedicated LTD UK Dedicated Servers || UK cPanel Hosting || UK Reseller Hosting |
| |
| | #7 (permalink) |
![]() |
Ok.. Do you have a symlink in /tmp/ still for mysql.sock?
__________________ Craig Robinson - UKDedicated LTD UK Dedicated Servers || UK cPanel Hosting || UK Reseller Hosting |
| |
| | #9 (permalink) |
![]() |
The result of running the command "ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock" Was ln: `/tmp/mysql.sock': File exists A restart attempt of mysql resulted in the same error as before. This error was the same following the running of the command: "ln -s -f /var/lib/mysql/mysql.sock /tmp/mysql.sock |
| |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Domain Name Community | Replies | Last Post |
| Servage MySQL problems etc.... | mat | Domain Name Registrars | 8 | 07-10-2008 01:55:41 PM |
| 1 mysql - 2 sites... | ratboy | Website Design | 4 | 15-02-2008 01:17:46 PM |
| MySQL help | fish | Services Wanted | 9 | 10-09-2007 10:59:49 AM |
| 123-reg problems | goldman | General Board | 2 | 07-05-2006 07:18:25 PM |