Open AFlachat opened 8 years ago
Are you using localhost
as IP?
Did you, like, defined the MySQL socket?
Yes i use localhost, and yes
`#Use MySQL (set this to false if you want to save data in local files) use-mysql: true
mysql:
host: "localhost"
port: 3306
username: "root"
password: "****"
database: "auth"
tableprefix: "auth"`
On some setups, you also need to define the socket location like /var/lib/mysql.sock
or whatever, something like that.
Ok , how ?
Hmm i've do ln -s /data/mysql_datadir/mysql.sock /var/lib/mysql/mysql.sock but same error
looking my my.cnf , every files are where they need to be ....
hmmm mysql.sock seems to be missing, look with filezilla i've see that it's a corrupted file, how to replace it ?
Why do you think it is a corrupted file?
The server don't detect it as file/directory
You configured mysql or ServerAuth wrongly
Hmmm i like the error of no file /var/run/mysqld/mysqld.sock not found when it exist and with good permissions access and mysql owner....
What about trying 127.0.0.1?
Wait, is there even an option that lets you define the socket?
the my.cnf that all
No. I meant ServerAuth Config.
no
That's the problem.
With my IDE which got the same error i've put 0.0.0.0 and it work, i've change a little the plugin to work with phpbb
im getting this too... But im using a seperate server for mySql database
Change host setting in ServerAuth configuration and put your database server IP/domain there. Make sure also that your MySQL database is configured to receive remote connections
Im getting this error too but i'm using a MySQL provider.
@thelucyclub is your MySQL server on the same computer of your PM server?
Just use your server's IP address. That's simpler.
Ok.
did you was try to grant all permission on ur mysql's database?
In mysql config find "bind" and change ip to your ip
My ServerAuth connected but it doesnt sync together passwords? Any help?
@PEMapModder
Did you, like, defined the MySQL socket?
Define*
Everyone on the pmmp forums says that sending lmgtfy links is rude, but http://lmgtfy.com/?q=what+do+they+know
@TheDiamondYT1 mind stop troubling the dead? It's disrespectful to the ancestors to step on their tomb.
@PEMapModder I do not mind
Hi i've a little bug with mysql support i got this error :
[ServerAuth] ServerAuth can't connect to the MySQL database. Data will be saved locally. Error: No such file or directory
But every informations on config.yml are true. Any idea ?