Database Schema Installer / Updater not working
-
@Polii123 Are you sure SQL is running?
-
Yes, i can connect to the database fine with phpmyadmin.
-
Could you try re-installing MySQL / MariaDB (don’t know which one you have).
-
@Polii123 said:
php_network_getaddresses: getaddrinfo failed: Name or service not known
Also, what changed? Did you update the OS or system?
This particular error is not something I coded or anything. It seems to be coming from either (or both) apache/PHP.
That’s a link I found pertaining to the first part of the error you’re seeing.
-
Didn’t help either…
-
Din’t saw your post, yeah i found that link too. Nslookup works, i restarted apache, restarted the hole server.
The only change i made was update to the latest SVN…
-
@Polii123 said:
Din’t saw your post, yeah i found that link too. Nslookup works, i restarted apache, restarted the hole server.
The only change i made was update to the latest SVN…
Does your /etc/hosts file have the proper host? What host is the Config.class.php file looking for?
-
hosts
127.0.0.1 localhost 127.0.1.1 Fogagh02.gibwintra.ch Fogagh02
/var/www/fog/lib/fog/config.calss.php
('DATABASE_HOST', '{localhost}');
-
Do me a favor and remove the curly braces from the database host line.
@Polii123 said:hosts
127.0.0.1 localhost 127.0.1.1 Fogagh02.gibwintra.ch Fogagh02
/var/www/fog/lib/fog/config.calss.php
('DATABASE_HOST', '{localhost}');
-
intresting…
Access denied for user '{root}'@'localhost' (using password: YES), Message: Check that database is running
I also removed the curly braces from the username and password line, and my server works!
But how did they come into my config.class.php file?
-
-
-
@Polii123 said:
@ch3i said:
@Polii123 said:
But how did they come into my config.class.php file?
Maybe a ghost lol
F*****g ghots I think Tom has to code some ghostbusters, so things like that won’t happen again.
3430 should not allow the brackets at all. I don’t know why it did it to begin with, but worse things have happened I suppose?