[QUESTION]MYSQL
#1

Hello guys, I decided to change my database to MYSQL, so I'm using Linux host and my PC's operation system is Windows! My question is: What xaampp I have to download for the server, the Linux version or the Windows version?
Thank you, +1 REP!
Reply
#2

https://www.digitalocean.com/communi...n-ubuntu-14-04
Reply
#3

I'm not asking how to install MYSQL on Linux, I'm just asking, wich version I have to install of xaampp to run the server, WINDOWS OR LINUX, because my PC is using Windows and the host is on Linux?
Reply
#4

Afaik, windows.
Reply
#5

One of you said Windows, one of you said Linux?
What the f*** I have to download :X
Reply
#6

Do not use xampp on a live server.

You should install the MySQL library yourself, along with PHP and apache.
Reply
#7

My hosters wants .sql file, so how can I get it?
Reply
#8

You get XAMPP for windows if you use it on your computer, when you upload the server to the host use the linux plugins, xampp has nothing to do with your host if I understood your question good.

The .sql file is the database which can be imported, go to phpmyadmin, click on the database and then Export to get a .sql file.
Reply
#9

Thanks you guys, I will try!
+1 REP to all!
Reply
#10

I don't need .sql file, but why when I try to start the server, it shut downs?
When I remove the connection to MySQL from my script, it works perfect, here is my code:
PHP код:
new MySQLOptoption_id mysql_init_options();
Database mysql_connect(MYSQL_HOSTMYSQL_USERMYSQL_PASSMYSQL_DATABASEoption_id);
if(
Database == MYSQL_INVALID_HANDLE || mysql_errno(Database) != 0)
{
    print(
"The server couldn't connect to MYSQL database.!");
    return 
1;

There is nothing in my server.log!
BTW I'm using this tutorial: http://forum.sa-mp.com/showthread.ph...ighlight=mysql
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)