Jump to content

Recommended Posts

Posted

I set up several cron Jobs and now am all of a sudden getting these error message that cannot connect to the database. seems like it started happening near March 23rd.

 

The job is to backup databases.

 

Got error: 1044: Access denied for user

 

this is happening not in 1 of my sites, but several of them. It is a standard job that has been running for a long time, has anyone else came accross this issue?

 

Has there been any system changes that caused this?

 

Thanks,

 

DPK

Posted

The "Error 1044" appears to be an "database access denied" error reported by the MySQL server. This error is normally reported as "Access denied for user 'db_username' to database 'my_database'".

 

I'd suggest checking your database in CPanel / MySQL Databases and make sure that everything is still set up correctly (database exists, username exists, username is added to database), and check your cron jobs / scripts to make sure they are still using the correct username / password to connect to the MySQL server.

Posted

I checked, double checked, triple checked and ..... this. Not sure what all happened here but I am a reseller and the same thing happened to 4 different sites that I run a similiar cron job for. The thing is they all started having issues at the same time frame.

Posted

Not sure what happened, however it seemed as though the permissions changed and needed access to LOCK the tables. I changed permissions and all is fine.

 

Thx for the help.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...