SA-MP Forums Archive
Linux VPS with MySQL - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Linux VPS with MySQL (/showthread.php?tid=479114)



Linux VPS with MySQL - dipsnark - 02.12.2013

Hey!

I'm running a Debian x64 VPS and want to run a samp mysql server on it. Ive tried it but I got the libmysqlclient_r.so.16 missing error. So I'm gonna reinstall the whole VPS to CentOS 6 x64 since there is too much shit on it already. After a clean install what should I do and in what order to get samp and mysql working? I'm using BlueG's R34 plugin.

Thanks a lot!


Re: Linux VPS with MySQL - Isolated - 03.12.2013

yum install mysql mysql-server
service mysql start
mysql_secure_installation

If you get any issues, reply here.


Re: Linux VPS with MySQL - ReApZ - 03.12.2013

the above can only be done by the root
it installs mysql in all servers
-typo fixed


Re: Linux VPS with MySQL - Mauzen - 03.12.2013

With centos 6 i made the ecperience that you might also need mysql-devel


Re: Linux VPS with MySQL - ColorHost-Kevin - 03.12.2013

yum install mysql should do the trick.


Re: Linux VPS with MySQL - dipsnark - 03.12.2013

Failed (plugins/mysql.so: symbol __cxa_pure_virtual, version libmysqlclient_16 not defined in file libmysqlclient_r.so.16 with link time reference)

This is what I get when I want to start my server.
Did:
Quote:

yum install mysql-server
service mysqld start
mysql_secure_installation

and configured it.

Then I got the same error so installed mysql-devel. Again the same error.
Then did yum provides libmysqlclient_r.so.16 and get mysql-libs and now I getting the error above.


Re: Linux VPS with MySQL - Isolated - 03.12.2013

run this command from cli: mysql -u user -p let me know if this works


Re: Linux VPS with MySQL - dipsnark - 03.12.2013

Quote:
Originally Posted by Isolated
Посмотреть сообщение
run this command from cli: mysql -u user -p let me know if this works
Nope. It asks for a password but idk what is it. Tried the root pass(since I haven't set other passwords) but it says access denied. mysql -u root -p works with my root pass.


Re: Linux VPS with MySQL - Khanz - 03.12.2013

If you have skype we can talk better on there

add me: aymel96


Re: Linux VPS with MySQL - dipsnark - 03.12.2013

Added, thanks.