Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

exporting tables with password fields

 
   Database Forums (Home) -> mySQL RSS
Next:  design questions  
Author Message
Matt

External


Since: Oct 17, 2005
Posts: 7



(Msg. 1) Posted: Mon Oct 17, 2005 11:55 am
Post subject: exporting tables with password fields
Archived from groups: mailing>database>mysql (more info?)

I am making a copy of a dB on my local machine so I can work on the
interface. But the username/password combination -- which works on the
"live" site -- doesn't work on my local machine. Is there something
about the PASSWORD() fxn in mysql that is specific to the installation?

 >> Stay informed about: exporting tables with password fields 
Back to top
Login to vote
Matt

External


Since: Oct 17, 2005
Posts: 7



(Msg. 2) Posted: Mon Oct 17, 2005 12:55 pm
Post subject: more info [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Matt wrote:
> I am making a copy of a dB on my local machine so I can work on the
> interface. But the username/password combination -- which works on the
> "live" site -- doesn't work on my local machine. Is there something
> about the PASSWORD() fxn in mysql that is specific to the installation?

both are using mysql 4.1.12

 >> Stay informed about: exporting tables with password fields 
Back to top
Login to vote
Gordon Burditt

External


Since: Oct 17, 2005
Posts: 1



(Msg. 3) Posted: Mon Oct 17, 2005 12:55 pm
Post subject: Re: exporting tables with password fields [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

>I am making a copy of a dB on my local machine so I can work on the
>interface. But the username/password combination -- which works on the
>"live" site -- doesn't work on my local machine. Is there something
>about the PASSWORD() fxn in mysql that is specific to the installation?

Just copying the dB doesn't copy permissions to use it. Did
you GRANT appropriate permissions? PASSWORD() changed a couple of
times in different versions but if you're using the same version on
both it shouldn't matter. What's the length of the result of PASSWORD()
on each system? As I recall two variants of the length are 16 and 41.
Try SELECT PASSWORD('foo') on both systems.

Gordon L. Burditt
 >> Stay informed about: exporting tables with password fields 
Back to top
Login to vote
Matt

External


Since: Oct 17, 2005
Posts: 7



(Msg. 4) Posted: Mon Oct 17, 2005 1:55 pm
Post subject: Re: exporting tables with password fields [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Gordon Burditt wrote:
>>I am making a copy of a dB on my local machine so I can work on the
>>interface. But the username/password combination -- which works on the
>>"live" site -- doesn't work on my local machine. Is there something
>>about the PASSWORD() fxn in mysql that is specific to the installation?
>
>
> Just copying the dB doesn't copy permissions to use it. Did
> you GRANT appropriate permissions? PASSWORD() changed a couple of
> times in different versions but if you're using the same version on
> both it shouldn't matter. What's the length of the result of PASSWORD()
> on each system? As I recall two variants of the length are 16 and 41.
> Try SELECT PASSWORD('foo') on both systems.
>
> Gordon L. Burditt

dB permissions were good -- i've done all that before. Got it fixed and
you were right; it was to do with the hash algorithm changeover in
4.11. My prod. server had the system var old_passwords=On but not my local.

So anyone else who runs into this: it's not enough that both
installations use 4.1.11 (or .12 or whatev) -- use SHOW VARIABLES like
'old_%' to see that setting.
 >> Stay informed about: exporting tables with password fields 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
two tables selecting fields - Suppose I have two tables A and B Table A has fields A1, A2, A3, ... A9 Table B has fields B1, B2, B3, ... B9 I want to select all fields in A and only B3 in table B. I dont want to list individual fields for A because they are too many I simply want t...

getting two distinct fields from one tbl from a join query.. - Hi Help! Im stuck on a join query. Im trying to get distinct (the same row returned only once) user_id and forename from a tbl of users (they are always distinct) where user_id in that tbl equals friend_id in another table friend_id, which 'should' be....

Compare record in two tables, return fields that don't mat.. - Does anyone know if there is an easy way to compare a row from table a, to a row in table b with the same structure/field names and return those fields which don't match? I have table_a storing the originally submitted applicant information, and table_b...

how do I reset user "root" password ? - My setup: Mac OS 10.4.4; mysql 4.x ... everything was installed and working fine for some time. Today, I added drupal to my system and had to create a new database in mysql -- now I am having some problems. I will outline the problem, what I have tried t...

finding duplicate fields - This may be a particularly dumb question, but I'm wrestling with it anyways. Is there a way, to discern a duplicate field among records in a table. For example, suppose I have a table such that: CREATE TABLE `sometable` ( `id` int(11) NOT NULL..
   Database Forums (Home) -> mySQL All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]