User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 391,821 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,625 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser:
Views: 597 | Replies: 1
Reply
Join Date: Mar 2008
Posts: 1
Reputation: neverlearning is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
neverlearning neverlearning is offline Offline
Newbie Poster

Help MySql Remote Connection - Hacking?

  #1  
Mar 15th, 2008
Dear all site members,
my hosting provider says that there are SQL queries running from
my i.p address (I am renting a dedicated server, if it matters to the question)
to another i.p address on their network.

Basically, something on my server is connecting to a MySql database
on a different server (or i.p address).

My application code specifies 'localhost' when connecting to MySql,
there is nowhere in my code where an i.p address is specified.

Does anyone know what the problem could be?

If it is an external hacker, how could it done?

Thanks,

SixYearsInTheIndustryStillAnIdiot_Don'tKnowWhyIHaveADegree
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2007
Posts: 107
Reputation: mwasif is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 13
mwasif mwasif is offline Offline
Junior Poster

Re: MySql Remote Connection - Hacking?

  #2  
Mar 16th, 2008
If this is not your application then it should be some person whether it is you, your co-worker or some hacker. As a first step, install a firewall on your dedicated server (apf is very good if you are on Linux) and allow access from some IPs (e.g. from office, home).

Hope this should make a difference.

You can do one more thing, find all the instances of mysql_connect in your application code and confirm you are not using an IP.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb MySQL Marketplace
Thread Tools Display Modes

Other Threads in the MySQL Forum

All times are GMT -4. The time now is 5:45 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC