Ask Lỗi khi up code site offer lên host

ladykiller

Junior
Joined
Mar 11, 2011
Messages
57
Reactions
5
MR
0.000
Mình up code site offer lên host free thì bị như này
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in /home/u625574152/public_html/includes/mysql.php on line 46
Could not connect to the database
chả biết sửa như nào
Mình ko biết lập trình web , chỉ biết mua code xong up lên host dùng thôi
Có bạn nào đang tập tành làm site offer , tự tìm hiểu như mình thì inbox làm quen trao đổi nhé
:binhsua58::binhsua58:
 
code mua thì đừng có dại mà đưa người ta... vào cp tạo database, sau đó vào file /home/u625574152/public_html/includes/mysql.php sửa lại tên database và pass

nó bảo bị ở dòng 46 phải ko bạn
dòng 46 mình có cái này thôi , sửa như nào bạn

$this->db_connect_id = ($this->persistency) ? mysql_pconnect($this->server, $this->user, $this->password) : mysql_connect($this->server, $this->user, $this->password);
 
đến bước này thì làm như nào tiếp vậy các bạn , ai biết làm inbox mình yahoo giúp với
a670c8e243744f2d9b1768459a2fd1e8_47996607.untitled.jpg
 

Announcements

Today's birthdays

Forum statistics

Threads
434,300
Messages
7,318,955
Members
185,744
Latest member
royalreelsai

Most viewed of week

Most discussed of week

Most viewed of week

Most discussed of week

Back
Top Bottom