Thanks for your answers.
@falko, the output shows:
Code:
(No info could be read for "-p": geteuid()=1000 but you should be root.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:10024 *:* LISTEN -
tcp 0 0 localhost:10025 *:* LISTEN -
tcp 0 0 *:mysql *:* LISTEN -
tcp 0 0 localhost:spamd *:* LISTEN -
tcp 0 0 server.mydomai:domain *:* LISTEN -
tcp 0 0 localhost:domain *:* LISTEN -
tcp 0 0 *:ssh *:* LISTEN -
tcp 0 0 *:smtp *:* LISTEN -
tcp 0 0 localhost:953 *:* LISTEN -
tcp 0 0 *:1723 *:* LISTEN -
tcp 0 48 server.mydomain.c:ssh modemcable028.124:11445 ESTABLISHED -
tcp 0 0 server.mydomain:56401 akismet.com:www TIME_WAIT -
tcp6 0 0 [::]:http-alt [::]:* LISTEN -
tcp6 0 0 [::]:www [::]:* LISTEN -
tcp6 0 0 [::]:tproxy [::]:* LISTEN -
tcp6 0 0 [::]:domain [::]:* LISTEN -
tcp6 0 0 [::]:ssh [::]:* LISTEN -
tcp6 0 0 localhost:953 [::]:* LISTEN -
tcp6 0 0 [::]:https [::]:* LISTEN -
tcp6 0 0 server.mydomain.c:www 89.35.223.218%3463:1166 TIME_WAIT -
tcp6 0 0 server.mydomain.c:www 89.35.223.218%3463:1158 TIME_WAIT -
tcp6 0 16610 server.mydomain.c:www 89.35.223.218%3463:1170 FIN_WAIT1 -
tcp6 0 0 server.mydomain.c:www 89.35.223.218%3463:1143 TIME_WAIT -
tcp6 0 0 server.mydomain.c:www 89.35.223.218%3463:1153 TIME_WAIT -
tcp6 0 0 server.mydomain.c:www 89.35.223.218%3463:1133 TIME_WAIT -
tcp6 0 0 server.mydomain.c:www 89.35.223.218%3463:1130 TIME_WAIT -
tcp6 0 0 server.mydomain.c:www 89.35.223.218%3463:1118 TIME_WAIT -
any idee of what is wrong?
@Mark_NL I followed it. everything else is working i don't know what's wrong here

.
I don't have any /etc/init.d/mysqld to restart
Thanks again.
EDIT: I got this:
Code:
myname@server:~$ sudo /etc/init.d/mysql restart
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..