Jump to content

Question

Posted

Χαίρεται παιδιά ... Θέλω να ρωτήσω αν μπορείτε να με βοηθήσετε να συνδέσω την ιστοσελίδα μου κάποια σκρίπτ με την database δεν ξέρω και αν είναι το σωστό μέρος εδώ βέβαια απλά επειδή σχετίζεται με το l2j το κάνω εδώ

 

έβαλα στο host την ip του σερβερ στο user kai to pass το mysql user και το pass και το ονομα της db 

αλλα φορτωνει 1 ωρα η σελιδα και δεν ανοιγει ... 

 

11 answers to this question

Recommended Posts

  • 0
Posted

ean den kanw kapoio lathos nomizw prepei sto mysql to enabe root access na einai on episis prepei na einai on to port 3306 (default 3306) meta vazeis stixia db ktp sta config kai douilevi logika etsi eixa kanei egw kai doulepse toulaxiston. elpizw na doulepsi kai gia esena

  • 0
Posted (edited)

Ti script vazeis?

Edit: prepei na kaneis new user sto navicat kai na doseis ola ta privs ston user auto meta apo ekei vazeis sto site to name host ip kai pass

Edited by Reborn12
  • 0
Posted

Έχω ανοίξει το πορτ 3306 ... τι διαφορά έχει από το να χρησιμοποιήσω τον ίδιο χρήστη; το δοκίμασα αυτό αλλά και πάλι :/ σκριπτ για να δείχνει διαφορά στατς στην σελίδα

  • 0
Posted (edited)

Έχεις βάλει την Mysql να δέχεται σύνδεση απέξω;

ναι οταν έκανα install το mysql 

 

 

Dokimase na ala3is to localhost se % sto user

 

ok

Edited by TEOGR_hItMaKeR
  • 0
Posted

O tropos sundesis pou xroishmopoio egw einai o eksis,

mesa sthn selida php vazo ena define :

"  require_once 'dbconnect.php';  "

to opoio periexei ta stoixeia ths sundesis:

<?php
 
error_reporting( ~E_DEPRECATED & ~E_NOTICE );
define('DBHOST', 'localhost'); // xxx.xxx.xxx.xxxx:3306 (x is ip // 3306 is the port)
define('DBUSER', 'root'); 
define('DBPASS', ''); 
define('DBNAME', 'l2jdb'); 
 
$conn = mysql_connect(DBHOST,DBUSER,DBPASS);
$dbcon = mysql_select_db(DBNAME);
 
if ( !$conn ) { //check.if connection fail
die("Connection failed : " . mysql_error());
}
 
if ( !$dbcon ) { //check.if connection fail
die("Database Connection failed : " . mysql_error());
}
  • 0
Posted (edited)

Ρε παιδιά έλεος καμία βοήθεια; να ποστάρω τον κώδικα; (δε νομίζω να έχει λάθος) ...

Edited by TEOGR_hItMaKeR

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


  • Posts

    • I was doing fixes long time ago before he rips me off , for him pixels matter more  
    • What is the reason for this new behavior where people criticize other users' posts? Do they think people are naive? Here everyone understands and everyone knows who's who. Focus on your work and be happy!    Lately, all they do is criticize anyone who posts anything; it's pure spam. Are they just looking for fame?  
    • Of course, bro So he writes to the admin: “Remove reactions because Skylord talks too much and says things that will make me lose clients.” And boom.. Maxor removes the reactions. Then he says: “Close my topics because too much nonsense is being written on my server.” And boom... the topics get closed. Bro, what century are we living in? People are not stupid. Just think for a second. Of course I won’t be able to fix anything like this. But at the same time, everyone here acts like they’re so great. They write their projects here, selling things for $5k–$10k  but in reality these fools just can’t find clients, so they spam nonsense and pretend they’re some huge professionals selling “super professional” files. From this point on, I can confirm that I will no longer be writing comments, replying to topics, or saying anything about anyone here. Honestly, I no longer care about the people on this forum who are trying to sell things, make a quick $100, and pretend to be something they are not. Many of these so-called “projects” and “official files” turn out to be fake, copied, or misleading. And let’s be honest this is not something new. There have been situations in the past where people asked me for help, copied things from my test servers, took my scripts or folders, and then tried to present them as their own official work. This kind of behavior should be visible to everyone. I am addressing the administration of this forum directly: these things should not be hidden. You should not be deleting posts, closing topics, removing replies, or covering up the truth just because someone is exposing what is actually happening. What kind of community are you building if the truth is constantly being hidden? For years, posts have been removed, topics have been closed, and replies have disappeared just because people said something uncomfortable. That is honestly sad. This is my final message. I no longer care what happens with this forum. Ban me if you want, remove my posts if you want, do whatever you want. I am done here.   I said what I had to say. @Maxtor    
    • TG Support: https://t.me/buyingproxysup | Channel: https://t.me/buyingproxycom Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server!  Create your free account here
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and 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..