Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6865749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:05:34+00:00 2026-05-27T03:05:34+00:00

When I check the mysql query logs on our BSD server, I see, repeated

  • 0

When I check the mysql query logs on our BSD server, I see, repeated again and again:

  • 111123 8:23:11 4478 Connect Access denied for user ‘Neohoo’@’localhost’ (using password: YES)

  • 4479 Connect Access denied for user ‘root’@’localhost’ (using password: NO)

I shut off outside access by adding the skip-networking option and restarting mysql:

cat /etc/my.cnf

  • [mysqld]

  • // The MySQL server

  • skip-innodb

  • max_connections=30

  • skip-networking

  • set-variable=local-infile=0

And verified by:

telnet bsdServer.com 3306
telnet: Unable to connect to remote host

The MySql is used with a legacy PHP application. I considered it could be an SQL injection attack but I am at a loss to find which section of the program. The mysql query logs do not show an IP address or any more useful data.

Any suggestions appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:05:35+00:00Added an answer on May 27, 2026 at 3:05 am

    I shut off outside access by adding the skip-networking option

    But these users are connecting from localhost – i.e. not across the network.

    The mysql query logs do not show an IP address

    Yes they do:

    • 111123 8:23:11 4478 Connect Access denied for user ‘Neohoo’@’localhost‘ (using password: YES)

    Some client running on the machine is trying to connect.

    If this machine is running a PHP webserver, particularly one facing the internet, most likely have a PHP code injection issue. Try cross referencing the timestamps on the log entries with your webserver access_log. If you’ve got the mysql client available on the machine, ensure that your webserver uid can’t run it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How do i make a mysql query for more tables to check at once?
Need help on sql(mysql query) to check that the selected 'startdate' and 'enddate' does
How can I check MySQL engine type for a specific database via mysql query?
Can you please check this mysql query and maybe help with what's wrong with
Check out this MySQL Query and then I'll show you what I really want
Can we check in a MODEL [CODIGNITER] whether a mysql query returns true or
I have had mysql query to check any particular reservations existing in database .
I run this query to check if cat_name already exists it the mysql database...
how can i check current number in mysql where.... my query is $aid =
i am building a string that i check in mysql db. eg: formFields[] is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.