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 8329331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T01:44:47+00:00 2026-06-09T01:44:47+00:00

I just upgraded my developement box’s PHP to the latest version, 5.4.5 . This

  • 0

I just upgraded my developement box’s PHP to the latest version, 5.4.5. This developement machine connects to a remote MySQL server, residing on a shared server that I lease from a hosting company.

Trying to connect to my remote MySQL server using simple mysql_connect('myserver.com', 'user', 'password') results in the following error:

Warning: mysql_connect(): mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD(‘your_existing_password’). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file in file.php on line 2

Simply, as advised, just executing:

SET PASSWORD = PASSWORD('my-password');

wouldn’t change anything.
The same applies when executing

SET SESSION old_passwords=FALSE;

After a bit of searching, I realized that I needed quite deep access to the MySQL server to be able to fix this problem, which I do not have. Trying to execute this query:

UPDATE mysql.user SET Password=PASSWORD('my-password')
  WHERE User='my_user' AND Host='my-server';
FLUSH PRIVILEGES;

Simply gives me the following error:

1142 – UPDATE command denied to user ‘u0112918’@’www10.aname.net’ for table ‘user’

Requests to have the company execute the query for me has, so far, been unsuccessfull. So my question is if there’s any way to fix this on the client side, without involving the MySQL server?

  • 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-06-09T01:44:51+00:00Added an answer on June 9, 2026 at 1:44 am

    Hm, try executing the following query through a tool other then PhpMyAdmin, such as Mysql Workbench or through a shell:

    SET SESSION old_passwords=0; 
    SET PASSWORD = PASSWORD('passwordString');
    

    You should be allowed to change your own password without DML Rights on user-table.

    Edit: since it did not resolve the issue – when “read_only” is enabled for the database then you need super rights to change (even your own) password ( http://dev.mysql.com/doc/refman/5.5/en/set-password.html )

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

Sidebar

Related Questions

I just upgraded to the latest version of the SDK (version 19) and now
I just upgraded my Android SDK, ADT and Proguard to the latest and greatest.
I've just upgraded my development machine and have moved over a website I was
I just upgraded my development machine to Windows 7 and am therefore reinstalling PostgreSQL
I've just upgraded from Python 2.6.1 to 2.6.4 on my development machine and upon
Earlier this week I was developing to the device just fine. I upgraded itunes
I just upgraded to Rails 3.2.0 and get this error after signing up to
At my workplace we just upgraded to SQL Server 2008 R2 Advanced in our
I just upgraded packages in an MVC 3 project (ASP.net 4), and now I
I just upgraded our Hudson from 2.2.0 to 2.2.1 to fix a known bug

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.