Really struggling really could use help

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Watch

young11

Account Closed
Impact
2
hey i have this site i have been uploading and selling all year. I tired to upload one today and all of a sudden i get this on smart ftp 2.0, "550 file can't find existance" so then i use smart ftp cute 7.1. the site is there but the log in page on the site keeps saying this when its clicked, "Warning: mysql_connect(): Access denied for user: 'eba7us_tv@localhost' (Using password: YES) in /home/pctvmall/public_html/config.php on line 7
Connection Failed", i dont know whast up. This has never happened before. The site is pctvmall.com. Any help please pelase please any suggestions or help welcome.
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Sounds like a mySQL connect or query issue...

It would help if you included the contents of line 7 (or preferably the entire sub-segment of code)
 
0
Close
<?php
# Database Connection
$connect_string = 'localhost';
$connect_username = 'eba7us_tv';
$connect_password = '********';
$connect_db = 'eba7us_tv';
$link =mysql_connect($connect_string, $connect_username, $connect_password) or die("Connection Failed");
mysql_select_db($connect_db) or die("Database selection failure");
$site_url = "http://test/";
$site_name = "YourTvOnPc.com";
$admin_email = "";
$siteurl="http://test";
// for testing purposes
//$admin_email = "[email protected]";
?>
 
Last edited:
0
Close
Have you tried restarting the mysql database?
It's a good idea to have a backup of the database for times like these. You may have to contact your hosting provider to help you.
J.K.
 
0
Close
how do i restart, is this problem with the hosting co . iused to, the problems started with this new hosting co.
 
0
Close
You shouldn't post your passwords openly on forums like this, anybody could see it then attempt to hack your site. Also, it you use the same password for other things then it is an even larger security risk.
 
0
Close
Yep, you should filter out your password with *'s or something :)
 
0
Close
Have you actually set up the database and user to use this database before you attempted to connect then, since this is a new host? Also, this is in the wrong section of the forum.
 
0
Close
thtas password was made up dont worry,
 
0
Close
Appraise.net

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back