[PENNMUSH] Enabling SQL
Ervin Hearn III
noltar at korongil.net
Sat Aug 5 13:00:09 CDT 2006
zith at arcanos.mine.nu wrote:
> How do I activate the MySQL functions?
> When I run the restart script I get several messages stating that various
> (all) sql directives in my mush.cnf file are being ignored.
>
> Could someone please give me a step-by-step instruction on how to enable
> it?
> I'm running 1.8.1p0 on a Linux system.
>
> Also, how can I check if the server has all the neccesary sql stuff, in
> the
> right places?
>
> //Zith
Hi Zith,
Have you read the README.SQL in the root pennmush directory? That may provide
all of the information you need.
However the quick overview is:
1) run ./Configure and see if it detects MySQL on the system
2) If mysql is detected run make
3) After the make succeeds, set the necessary directives in mush.cnf
4) start the mush and test the connection with @sql
As for checking if the system has the necessary sql stuff, the best way is to
check with the system admin. Otherwise you can generally check to see if the
/usr/include/mysql directory exists and that /usr/lib/libmysqlclient.so
exists. However, it is possible that your system admin has configured the
system differently and they are located in another place that has been added
to the appropriate paths. They may also be restricting access to the mysql
files and require a request to setup access to them for an account.
Regards,
Ervin
More information about the Pennmush
mailing list