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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T04:52:36+00:00 2026-06-10T04:52:36+00:00

Basically, what I want to do is the following : I have a table

  • 0

Basically, what I want to do is the following :
I have a table ‘users’ in my first database (prc), like this :

prc.user :
id_user : 45 | name_user : Test | login_user : test | pwd_user : test
[...]

And in my second database (named : prc_test)

prc_test.user
id_user : 45 | name_user : Test | login_user : test | pwd_user : test
[...]

The thing I want to do, is update all the “pwd_user” fields in “prc_test.user” with the values from pwd_user from “prc.user”
But in the prc_test.user, the id are not the same as in prc.user, so I thought of doing it with the “name_user”, (there are no doubles).

Any clue in how I can do it ?
I searched on Google, but what I found is always for some specific cases, or for insert statements…

(I’m using MySQL5.5)

Thanks !

  • 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-10T04:52:38+00:00Added an answer on June 10, 2026 at 4:52 am
    UPDATE 
      prc.user, 
      prc_test.user 
    SET 
      prc_test.user.pwd_user = prc.user.pwd_user
    WHERE 
      prc_test.user.name_user = prc.user.name_user
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Suppose I have the following data but I basically want to copy the first
I have the following views in my application. Basically I want to call show_house()
I have the following table: Table: UserName Userid User UserUpdate 1 Dan 1/1/2005 1
I basically have two tables called images and users . The images table has
My table is a messaging table basically. I have the following fields: id: integer,
I have following tables : users accounts ( user has_one account ) pictures (
Basically I have two models: User and Godfather. The godfather table has three columns:
The following snippet is not working for me. Basically I want to check if
I want to build a bot that basically does the following: Listens to the
I basically want something like: TextView Button Button . . . TextView TextView SeekBar

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.