I was reading and reading and reading most of previously posted suggested solutions for the well-known error: Moodle could not connect to the database.
It's possible the database itself is just not working at the moment. etc, etc
I added next line in my.cnf file (I thought: "maybe it's a socket connection, as someone suggested"),
I think it sounds like a non valid connection between Moodle and MySQL, but due to my almost-null experience in both topics, i give up... :S
Any help will be appreciated ! THank you