hi:

i move my osqa site from one machine to another machine , so i should move my mysql database too.
after i finish it ,the whole site is place at another place , when i open the new site page , all information is fine .
but when i login the new site use my username and passwrod (regist in my old site). it can't. but i lookup the database ,all user information is right here . not lost . i just cope /var/lib/mysql/osqa from one machine to another for database migration.

oh , it is just i can't login use openid,other normal user/passwd can login by imput username and password. is it openid associate with the website name ?

asked 27 Apr '11, 08:52

mike's gravatar image

mike
46346
accept rate: 0%

edited 27 Apr '11, 15:54

Andrew_S's gravatar image

Andrew_S ♦
5.6k45674


Yes, I think openId does depend on domain name too. This has come up a couple of times in the past: it might be worth looking through some of these questions, because I have seen this issue of a hiccup in logging in with openIds for the first time, after changing the domain on which OSQA is hosted.

link

answered 27 Apr '11, 15:53

Andrew_S's gravatar image

Andrew_S ♦
5.6k45674
accept rate: 21%

I would recommend backing up and restoring the database like this:

http://www.webcheatsheet.com/SQL/mysql_backup_restore.php

link

answered 27 Apr '11, 09:30

Thang's gravatar image

Thang
11
accept rate: 0%

yes , i'm doing like this

(27 Apr '11, 09:34) mike

I do remember running into this issue at one point when trying to make a test environment.

Try restarting the services [mySQL + django/apache]. Also be sure you're using the same version of Django on both machines [I was installing via DjangoStack and was trying to use different version on two systems]

(27 Apr '11, 09:39) Thang
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×62
×41
×23
×13
×2

Asked: 27 Apr '11, 08:52

Seen: 649 times

Last updated: 27 Apr '11, 15:54

powered by OSQA