Jump to content
  • 0

Pls... hElp...


Question

Posted

gia sas pedia 8a h8ela ena help p nmzo 8a einai ligo duskolo na me boi8isete alla oxi gia autous p pragmatika 8eloun na me help... ego site me castle control ktlp ... kai 8elo na peraso mysql gia na ta fortonei kai na mn leei !!

 

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in /data/multiserv/users/348561/projects/570482/www/system/scripts/db_scripts/phpscripts/configs/script_config.php on line 8

Coudn't connect to [localhost]

 

opoios mporei na me help thnx !

6 answers to this question

Recommended Posts

  • 0
Posted

giauto 8elo help dn 3ero :/

Anoixe to config.php kai 8a deis dn einia duskolo tin ip tou server bazeis tin port p exeis anoi3ei ton kodiko apo to mysql to onoma tis db kai egine , oute kan prospa8hses kai zhthses help.
  • 0
Posted

dn 3ero kl rr dn 3ero pos akrivos na ta grapso .. giauto zhtao help :/

 

Script Config

 

<?php

 

   $db_user = "root";

   $db_pass = "";

   $db_name = "l2jdb";

   $db_serv = "localhost";

 

   $res = mysql_connect ( $db_serv, $db_user, $db_pass ) or die ("Coudn't connect to [$db_serv]");

   $resdb = mysql_select_db ( "$db_name",$res );

 

   return $res;

 

?>

 

 

Clan Config :

 

<?php

 

$MHost = "localhost"; // Hostname/IP of MySQL-Server

$MUser = "root";       // MySQL login name

$MPassword = ""; // Password for login name

$DBName = "l2jdb"; // Database Name

$datevers = "%d.%m.%Y";

 

include "stop_script.php";

 

$SrvConn = @mysql_connect($MHost, $MUser, $MPassword);

 

if(!$SrvConn)

StopScript("Database server is down at the moment. Please try again later!");

?>

 

auta dn 3ero omos ti grafo kai ti sbhno :/ giauto 8elo help!!

  • 0
Posted

Loipon pame na prospathisw na se boithisw.........

Arxizoyme apo ta apla diladi oti den xreiazete na stiseis SQL sto site soy efoson idi trexei kapios sql server sto box poy exeis

ton server soy.

Kai pame sto kodika:

$db_user = "root"; <---- Edo grafeis ton user poy kanei connect sthn database (An den to exeis ala3ei einai root opote den to alazeis)

$db_pass = ""; <---- Mesa sta isagogika bazeis to pass poy exei o user root sthn database soy (px $db_pass = "123456";)

$db_name = "l2jdb"; <---- Edw bazeis to onoma ths database soy diladi l2jdb (otan ekanes egatastash thn db sto sql soy zitise ena onoma database. Ayto bazeis edw)

$db_serv = "localhost"; <---- Edw bazeis thn ip toy box poy trexei h sql (An ola ayta exeis kataferei kai ta trexeis local tote proton eisai hrwas kai deyteron den ta pirazeis)

 

Ayta gia to epanw meros kai oson afora to kato meros poy grafeis clan config: opos blepeis bazeis ta idia poy bazeis kai epanw

 

Elpizw na se boi8isa proton kai na eisai arketa a3ios oste na to ftia3eis deyteron :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...