After I finally compile the server successfully, I tried to run it, but another error appear :
db connection attempt failed
Initialize:
Could not create database or connect to it.
Other applications (such as MySQLCC) had no problems to connect, the user and the databases needed by planeshift were created. So I decide to look in the source where the error exactly append ... It was this line (/src/server/database/mysql/dal.cpp, line 62) :
conn = mysql_real_connect(conn,host,user,pwd,
database,0,NULL,CLIENT_FOUND_ROWS);
It returned NULL instead of a MySQL*. I first thought it could be the host, user pwd etc that were false. So I \"printf\" them. They were normal. I finally replace the NULL, by the exact socket adress :
conn = mysql_real_connect(conn,host,user,pwd,
database,0,\"/var/lib/mysql/mysql.sock\",CLIENT_FOUND_ROWS);
Jam, try ... and it was working. Can anyone explain me ? Is something false in my linux configuration ? My method isn\'t clean ... Can anybody suggest me a better one ?