Jump to content

Recommended Posts

Posted

Just done an automatic update on opensuse and now mysql is not working propery

 

I get this


rcmysql status
Checking for service MySQL: checkproc: Empty pid file /var/lib/mysql/mysqld.pid for /usr/sbin/mysqld
                                                                    unused
SUSEMOODLE:~ # rcmysql try-restart
checkproc: Empty pid file /var/lib/mysql/mysqld.pid for /usr/sbin/mysqld

                                                                    failed
SUSEMOODLE:~ # rcmysql restart
Restarting service MySQL 
Shutting down service MySQL                                          done
Updating MySQL privilege database... 
                                                                    failed

 

Which means moodle does'nt work

Error: Database connection failed.

 

It is possible that the database is overloaded or otherwise not running properly.

 

The site administrator should also check that the database details have been correctly specified in config.php

 

Any ideas how to get mysql back up and running

Posted

i can remove the file like you said

but now get

Restarting service MySQL 
Shutting down service MySQL                                          done
Updating MySQL privilege database... 
                                                                    failed

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...