Jump to content

Help: Error login panel hosted or (xamp) idem error


Recommended Posts

Posted

Buna, mi-am facut un panel, ei bine nu e 100% facut de mine. Si are ceva probleme. Cand dau sa bag datele mele msql samp server

nu imi mai merge

uitati aici datele din include > connection.

<?php
$link = mysql_connect('localhost', 'root', 'port_9877') or die("Nu se poate efectua conexiunea MYSQL");
mysql_select_db('vortex', $link);

$dbh = new PDO('mysql:host=localhost;dbname=vortex;charset=utf8', 'port_9877', 'kd4t01gs38');

/*$link = mysql_connect('localhost', 'port_9877', 'kd4t01gs38') or die("wrong user pass mysql");
mysql_select_db('port_9877', $link);*/

?>

si aici eroarea panel host online: 

 

Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\includes\connection.php on line 2
Nu se poate efectua conexiunea MYSQL

Posted (edited)

Nu sunt corecte datele. De ce ai facut conexiunea folosind PDO si MySQLI in acelasi timp?

Edited by L0K3D.
Posted

Nu sunt corecte datele. De ce ai facut conexiunea folosind PDO si MySQLI in acelasi timp?

 

Pt ca nu am avut coduriile de la msql am pus asa cum am apucat ca nu stiu cum sa le creez.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. 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.

moduri samp