- Mesaj
- 39
- Beğeni
- 6
- Puan
- 56
- Ticaret Puanı
- 0
Hello Guys, my Problem Is:
I Have Web site Host But no VPN Hosting and I Want to run my site with localhost database (navicat) to register accounts and change some things who's depend on database
but when I write my navicat MySQL information In settings.php get Error (Failed to connect to data base) and If I write the MySQL data base (Database who's I Created in my site hosting)
the site works perfect, but when I create a account I interface a problem
(There was a problem while registering, please try again.)
"and I expected that because this Data base Empty (no Information on it)"
Please if you have any Solution or You have guide to add Metin2 Website with Database Please Comment
Pictures for illustration
And I Will attach setting.php File .. to see What I did
I Have Web site Host But no VPN Hosting and I Want to run my site with localhost database (navicat) to register accounts and change some things who's depend on database
but when I write my navicat MySQL information In settings.php get Error (Failed to connect to data base) and If I write the MySQL data base (Database who's I Created in my site hosting)
the site works perfect, but when I create a account I interface a problem
(There was a problem while registering, please try again.)
"and I expected that because this Data base Empty (no Information on it)"
Please if you have any Solution or You have guide to add Metin2 Website with Database Please Comment
Pictures for illustration
And I Will attach setting.php File .. to see What I did
Kod:
define ("DEFAULT_LANGUAGE", "tr");
define ("SERVERNAME", "AsiLZade");
define ("VERSION", "1.0.0");
define ("URL", "[URL] https://www.alesia2.net/ [/ URL]");
define ("GOOGLE_RECAPTCHA", "6LcYSwkTAAAAAF8x4NWODavRvE7PUkfrpGKVoHqg");
define ("GOOGLE_RECAPTCHA_SECRET", "6LcYSwkTAAAAAKSsL9V4ljXTZfu9cPuQ7nGGV88W");
/ ** About Problem
[1] .When I Write my Hosting MySQL it's Work but I interface Error When I Register (and This expected Bec dataBase Empty)
[2] .When I Write Navigat DataBase Website doesn't Open and I Got (Failed To Connect To DataBase)
** /
define ("MYSQL_IP", "192.168.1.100");
define ("MYSQL_USER", "root");
define ("MYSQL_SIFRE", "123456");
define ("MYSQL_DB", "Metin2");
/ ** About Problem ** /
define ("MYSQL_ACCOUNT", "account");
define ("MYSQL_PLAYER", "player");
define ("MYSQL_LOG", "log");
define ("EP_TIPI", "cash");
define ("MAIL_HOST", "127.0.0.1");
define ("MAIL_HESAP", "[EMAIL] Turkmmo@turkmmo.com [/ EMAIL]");
define ("MAIL_SIFRE", "fn5z ^ 9J7");
define ("MAIL_SERVER", "Turkmmo Turkmmo");
define ("SMS_BASLIK", "Alesia2");
define ("SMS_User", "AsiLZade");
define ("SMS_SIFRE", "JfFjMHQznybc");
define ("P2P_SIFRE", "! - ****! xaswsd! **** -!");
[/ CODE] [/ CODE] [/ CODE] [/ CODE]