SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)
what should i edit?...i have this 3 files in config folder:
1.Connect.php
<?php
# IP DO DEDICADO
$ip ="79.137.33.234";// Connect PHP PDO
$connect ='mysql:host=localhost;dbname=l2jdb';try{
$db =new PDO($connect,'root','');
$db->setattribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);}catch(PDOException $e){
echo $e->getMessage();}/*=======================================================================================*\
||########################| CONFIGURE NEWS |#########################||
\*=======================================================================================*/
$authorconf ='Admin';# Nome do author que irá aparecer nas news ?>
2.Conf.php
<?php
$conexao = mysql_connect('localhost','root','')ordie(mysql_error());
$banco = mysql_select_db('l2jdb', $conexao)ordie(mysql_error());
$end ='localhost';# Endere�o ou IP do seu site sem o 'http://www.', escreva assim: 'seusite.com.br' ou '200.145.221.89'
$nomedosite ='L2 Forgot Life';
$host_smtp ='mail.l2forgotlife.com';
$email_contato ='EMAIL@l2forgotlife.com';
$senha_email_contato ='SENHA';?>
3.Config.php
<?php
$conexao = mysql_connect('localhost','root','')ordie(mysql_error());
$banco = mysql_select_db('l2jdb', $conexao)ordie(mysql_error());
$end ='localhost';# Endere�o ou IP do seu site sem o 'http://www.', escreva assim: 'seusite.com.br' ou '200.145.221.89'
$nomedosite ='L2 Forgot Life';
$host_smtp ='mail.l2forgotlife.com';
$email_contato ='EMAIL@l2forgotlife.com';
$senha_email_contato ='SENHA';?>
Https://lineage2dex.com
Discord link : https://discord.com/channels/786506979493281794/814778540893536307/1424434670690504874
## Dexters!
**Our x25 server is celebrating its first week!**
🔥 Online stays strong at peak levels! New players are joining every day, with 200+ new master accounts registered daily — amazing results!
✨ Tomorrow we launch a new episode along with the first event. Full details will be shared in the morning(October 6).
🎁 And for this little celebration, here’s a bonus code with a small gift for you!
## O05-IIW
**Contains: **
* x3 - Training Potion 200% (20 min)
* x200 - Mana Potions Loyatly (no weight)
*The code will remain active until October 6, 7 AM(server time). And be sure, you have at less 20 slots free on inv before using a code.*
**👉 How to redeem:**
1. Log in to your Master Account on site.
2. Click the Redeem Bonus Code button at the top of the panel, type code click redeem.
3. Select the account and character you want to receive the gift.
**Codes work only 1 time for 1 Master Account!**
### Enjoy your adventure, Dexters!
Question
Guarder
Hello, i've added this website:
but when i try to open it,it says :
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)Access denied for user 'root'@'localhost' (using password: NO)
what should i edit?...i have this 3 files in config folder:
1.Connect.php
2.Conf.php
3.Config.php
17 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now