Welcome To myPHPNuke.com

  Create An Account Home  ·  Topics  ·  Stats  ·  Your Account  ·  Submit News  ·  Top 10 June 19, 2013  

  Main Menu

  Just SOME MPN Driven Sites!!

  What Is myPHPNuke?
myPHPNuke Introduction
Would you like to contribute to our website or software?

Just Click Here and tell us about yourself.

General Discussion
Topic: User logins after MySQL version change


Search Forums

Moderated By: Kiril, avw
myPHPNuke.com Forum Index
  »» General Discussion
    »» User logins after MySQL version change

Please Register To Post


Author User logins after MySQL version change

Cyrus
Just can't stay away
Joined: 30-Dec-2001
Posts: 136
From: New Zealand


newzealand    avatar

posticon   Posted: 2008-06-20 18:19

Hi there,

For whatever reasons, I had to move from a box that I was running my site on PHP 4.4.4 and MySQL 4.1.22-standard to another one with PHP 5.1.6 and MySQL 5.0.22

I mainly use my site for articles, and users need to login to submit articles under their name.

I can login as the administrator of the site, and there are a couple of minor problems, nothing major.

The only major problem I need to sort out is for users to login as their attempts are failing.

I have used search here to determine any SQL queries to be run, but haven't been able to get the fix suggested as I see the user is no longer using this CMS.

I have tried running the info on http://dev.mysql.com/doc/refman/5.0/en/mysql-upgrade.html

and have run mysql_upgrade executes the following commands:

!!! CODE !!!


mysqlcheck --check-upgrade --all-databases --auto-repair
mysql_fix_privilege_tables


Which gives me:

!!! CODE !!!

This script updates all the mysql privilege tables to be usable by
MySQL 4.0 and above.

This is needed if you want to use the new GRANT functions,
CREATE AGGREGATE FUNCTION, stored procedures, or
more secure passwords in 4.1

Got a failure from command:
cat /usr/share/mysql/mysql_fix_privilege_tables.sql | /usr/bin/mysql --no-defaul                                             ts --force --user=root --host=localhost --database=mysql
Please check the above output and try again.

Running the script with the --verbose option may give you some information
of what went wrong.


Request assistance as to how to get users to login after the change in MySQL versions.

Regards.


-----------------
Cyrus
PromotionData.com
(A division of ThePromotionGroup network)



  Member Information For CyrusProfile   Send Private Message To Cyrus   Go To Cyrus's Website   Quote And Reply To This MessageQuote

BigDaveKnight
Quite a regular
Joined: 19-May-2006
Posts: 42
From: Portsmouth, Hampshire, UK


uk    avatar

posticon   Posted: 2008-06-22 10:53

When our server hosts updated the servers to MySQL 5 it took my "technical bod" 4 days of tinkering to get it fixed. Eventually we got our server hosts to sort it out, and to this day they haven't told us what they did to sort it out (they never do).

So basically I can't help, but only sympathise!


-----------------
Photobucket - Video and Image Hosting



  Member Information For BigDaveKnightProfile   Send Private Message To BigDaveKnight   Send Email To BigDaveKnight   Go To BigDaveKnight's Website   Send YIM Message To BigDaveKnight   BigDaveKnight's MSNM Number Is BigDaveKnight@Hotmail.com   Quote And Reply To This MessageQuote

BigDaveKnight
Quite a regular
Joined: 19-May-2006
Posts: 42
From: Portsmouth, Hampshire, UK


uk    avatar

posticon   Posted: 2008-06-22 10:54

One thing I DO remember was that it appeared that the server wasn't storing "cookies" - HENCE THE LOG-IN PROBLEMS!



  Member Information For BigDaveKnightProfile   Send Private Message To BigDaveKnight   Send Email To BigDaveKnight   Go To BigDaveKnight's Website   Send YIM Message To BigDaveKnight   BigDaveKnight's MSNM Number Is BigDaveKnight@Hotmail.com   Quote And Reply To This MessageQuote

Cyrus
Just can't stay away
Joined: 30-Dec-2001
Posts: 136
From: New Zealand


newzealand    avatar

posticon   Posted: 2008-06-22 19:09

Trying to get there....have updated pages from the CVS and manually have to change user passwords.



  Member Information For CyrusProfile   Send Private Message To Cyrus   Go To Cyrus's Website   Quote And Reply To This MessageQuote

Cyrus
Just can't stay away
Joined: 30-Dec-2001
Posts: 136
From: New Zealand


newzealand    avatar

posticon   Posted: 2008-06-22 22:06

If I try to get too elaborate in my post I'm being knocked off as a s....er.

Have had to go back a version of mainfile as the latest CVS one did not display my page columns.

Had to go back to the original memberlist as the new one did not display.

Lets see if this post comes up!



  Member Information For CyrusProfile   Send Private Message To Cyrus   Go To Cyrus's Website   Quote And Reply To This MessageQuote

Kang
Home away from home
Joined: 15-Feb-2003
Posts: 163
From: Malaysia


malaysia    avatar

posticon   Posted: 2008-06-23 00:14

Same thing happened to my site. After upgrade to Mysql5:

1. User cant login
2. User become Deleted User

Solution: the only solution is downgrade back to Mysql4.

Any other solution (or patch)?



  Member Information For KangProfile   Send Private Message To Kang   Go To Kang's Website   Send YIM Message To Kang   Quote And Reply To This MessageQuote

Cyrus
Just can't stay away
Joined: 30-Dec-2001
Posts: 136
From: New Zealand


newzealand    avatar

posticon   Posted: 2008-06-23 02:08

If you're with a web host, they will upgrade MySQL and your database should be covered for new priveleges and features.

With regards to PHP I guess that you will have to update from the CVS here.

In my case, I have my own box that I loaded with PHP and MySQL 5. It's controlled by the Virtualmin Professional control panel (Absolutely fabulous I have to say)on CentOS and I imported mpn from an old cPanel host I was using who were still running 4.

So, my solution is to allocate fresh passwords when I get a query stating that a user cannot login. I'm sure there's another way, but am not aware.

The person on this forum who was advertising some updates for 5 is no longer running mpn. I tried to contact him but got no response.

A few issues still don't work like archives and a few other bits and pieces, but I can put up with that. I use mpn mainly for articles, and do not use the forum, chat, etc.

Regards.


-----------------
Cyrus
PromotionData.com
(A division of ThePromotionGroup network)



  Member Information For CyrusProfile   Send Private Message To Cyrus   Go To Cyrus's Website   Quote And Reply To This MessageQuote

Kang
Home away from home
Joined: 15-Feb-2003
Posts: 163
From: Malaysia


malaysia    avatar

posticon   Posted: 2008-07-03 21:49

Will someone create a patch for this matter.... this is urgent issue



  Member Information For KangProfile   Send Private Message To Kang   Go To Kang's Website   Send YIM Message To Kang   Quote And Reply To This MessageQuote

todi
Not too shy to talk
Joined: 23-Sep-2004
Posts: 30
From: Germany


blank    avatar

posticon   Posted: 2008-08-24 15:16

I would appreciate a solution to this too.



  Member Information For todiProfile   Send Private Message To todi   Quote And Reply To This MessageQuote

Member Messages

Forum Search & Navigation


 

Log in to check your private messages



Please Login Or Register





  


 

[ Advanced Search ]

Jump To Forum: 



  ChatBox II
smartvicky >  
sailwell >  hi
sailwell >  any body in?
sailwell >  i have instalation problem
sailwell >  any one help me
duke-leto >  kiril are you on here?
santeriablooms29 >  hello good day....



Click here to open the chatbox...
0 people chatting right now.