Jump to content

Recommended Posts

[!--quoteo(post=344311:date=Feb 9 2006, 10:37 PM:name=wickning1)--][div class=\'quotetop\']QUOTE(wickning1 @ Feb 9 2006, 10:37 PM) [snapback]344311[/snapback][/div][div class=\'quotemain\'][!--quotec--]
MySQL 5.0 uses a new PASSWORD() function to encode its user passwords. If you can get any access at all, try:

SET PASSWORD FOR root@localhost=OLD_PASSWORD("yourPW")

Replace root@localhost with your username and remote host.
[/quote]

I don't know what's my username. During installation it only asked me for the root password to set. Can I just use 'root' as a username?

Should I write this command whenever I want to connect to the database?


Thanks
Bee
Link to comment
https://forums.phpfreaks.com/topic/3369-mysql-v50/#findComment-11534
Share on other sites

wickning1 is referring to upgrading the privileges table, which is discussed [a href=\"http://dev.mysql.com/doc/refman/5.0/en/mysql-fix-privilege-tables.html\" target=\"_blank\"]here[/a]. You should also probably read the [a href=\"http://dev.mysql.com/doc/refman/5.0/en/upgrading-from-4-1.html\" target=\"_blank\"]upgrade refman page[/a], as there are many, many incompatible changes.
Link to comment
https://forums.phpfreaks.com/topic/3369-mysql-v50/#findComment-11555
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.