Hi all. I have my "beta" portal in 4.7.0-rc3. Now I want to install 4.7.0 with old DB.

 mysql create 470db
 mysqldump > 470rc3db.sql
 mysql 470db <  470rc3db.sql
 http://www.mysite.com/update.php (with $access_check = FALSE;)

Is not correct ? Why I can not login anymore ? No errors, nothing about nothing. Only reload the page where i am when I insert dato to login.

Tnx in advance.

M.

Comments

BlackSash’s picture

I don't know whether you always use those commands, but I like to be really specific in mine:

Try the following:

$ mysql -u <user> -p

mysql> create database <db_name>;
Query OK, 1 row affected (0.04 sec)

mysql> grant all privileges on <db_name>.* to '<user>'@'<db_host>' identified by <password>;
Query OK, 1 row affected (0.04 sec)

mysql> quit;
Bye

$ mysqldump -u <old_db_user> -p <old_db_name> > old_db_dump.mysql

$ mysql -u <user> -p <db_name> < old_db_dump.mysql

Replace all the <bla> sections with the appropriate info, of course.

This has worked for me every time. (save the odd typo that may have slipped in ;) ).
Please post back if this didn't work for you.

Oh, come to think of it... Just to be sure, double-check your settings.php file.

-------------------------------
GU d- -p+ c++++ l++ e* m* s+ n+ h+ f? g+ w+++ t- r y?
Madcap - design - development - consultancy
http://www.madcap.nl - Running on Drupal, of course.

ziobudda’s picture

It does not work for me.

Settings.php is correct because I can see "contents" of my site. But Login no! I can reset the password (via request new password). But when I try to login I can not login (firefox seems to reload the same page without error message)

M.

Freelancer Senior Drupal Developer -- http://www.ziobuddalabs.it

ziobudda’s picture

I have tried to insert a non existen user. No error message. Why ????

Freelancer Senior Drupal Developer -- http://www.ziobuddalabs.it