Jump to content

Question

Posted

Whenever i try to connect to my own samp server it says wrong password kindly tell me the solution how to fix this im putting the same password which i put in register box but still its saying wrong password. help me out asap

5 answers to this question

Recommended Posts

  • 0
Posted
2 hours ago, Marlboro said:

ENG : You did not make a good connection with the database server.

RO: Nu ai facut bine conectarea serverului cu baza de date.

Well, im new in scripting if you can explain me then it'd be a pleasure. just help me get out of this problem.

  • 0
Posted
Acum 51 minute, Arsalan a spus:

Well, im new in scripting if you can explain me then it'd be a pleasure. just help me get out of this problem.

Enter the database login data in the GM source (... pwn) found in samp03 / gamemodes

The GM source (this has the .pwn extension) opens with pawno.exe and looks for:

#define SQL_HOST "localhost" // MySQL data
#define SQL_USER "root"
#define SQL_PASS ""
#define SQL_DB "GangWar"

Complete data from the database

#define SQL_HOST --- ip webhost
#defines SQL_USER --- user with which you connect to the web database
#defines SQL_PASS --- the user password assigned to the database
#define SQL_DB - database name

Example of completion:

#define SQL_HOST "178.157.85.25" // MySQL data
#define SQL_USER "samp_admin"
#define SQL_PASS "7nucoyubg"
#define SQL_DB "samp_db"
#define SCRIPT_VERSION "v0.3"

Note: In some servers (SAMP, MTA), access to the database may take a form other than the ones listed above. For example, it can take the form of a command line:

SQL = mysql_connect ("127.0.0.1", "root", "zV_hid9833", "");

Access data is replaced with those I created in cPanel:

SQL = mysql_connect ("5.83.43.25", "user_admin", "user_db", "password123");

After completing, compile.

If we already had a GM (it has the extension ... amx) then we will be asked if we want to replace it, we select yes.

It is best to delete it before compilation, however we do not have anything to do with it because it includes data from another database.

After compilation in the gamemodes folder, the compiled GM will appear.

 

vldgIri.png

YouTube : Click Redirect Channel

Discord : Arabu#9330

Canal Discord : Click To Join

Facebook : Click Facebook

Instagram : Click Instagram

Skype : Mita.Official

Respectă și vei fi respectat !

  • 0
Posted
16 hours ago, Marlboro said:

Enter the database login data in the GM source (... pwn) found in samp03 / gamemodes

The GM source (this has the .pwn extension) opens with pawno.exe and looks for:

#define SQL_HOST "localhost" // MySQL data
#define SQL_USER "root"
#define SQL_PASS ""
#define SQL_DB "GangWar"

Complete data from the database

#define SQL_HOST --- ip webhost
#defines SQL_USER --- user with which you connect to the web database
#defines SQL_PASS --- the user password assigned to the database
#define SQL_DB - database name

Example of completion:

#define SQL_HOST "178.157.85.25" // MySQL data
#define SQL_USER "samp_admin"
#define SQL_PASS "7nucoyubg"
#define SQL_DB "samp_db"
#define SCRIPT_VERSION "v0.3"

Note: In some servers (SAMP, MTA), access to the database may take a form other than the ones listed above. For example, it can take the form of a command line:

SQL = mysql_connect ("127.0.0.1", "root", "zV_hid9833", "");

Access data is replaced with those I created in cPanel:

SQL = mysql_connect ("5.83.43.25", "user_admin", "user_db", "password123");

After completing, compile.

If we already had a GM (it has the extension ... amx) then we will be asked if we want to replace it, we select yes.

It is best to delete it before compilation, however we do not have anything to do with it because it includes data from another database.

After compilation in the gamemodes folder, the compiled GM will appear.

Thanks, i will try it. btw i have added you on skype kindly accept me there.

  • 0
Posted

it didnt worked. can you come on skype please? i really need to get out of this problem i want to run my own server. it'd be a pleasure if you help me get out of this problem pls.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.