Results 1 to 10 of 10

Thread: phpMyadmin - Can not log in using correct user/pass!

  1. #1
    skuliaxe is offline Senior Member
    Join Date
    Feb 2010
    Posts
    50

    Default Solved: phpMyadmin - Can not log in using correct user/pass!

    I installed SugarCRM 5.5.1 CE with a Stack installer. I chose to install phpMyadmin aswell.

    Now, when opening "http://localhost:80/phpMyadmin" the login screen opens. I type in the username and password but it pops back up like the username was wrong.

    So then I open sugarcrm/config.php and use the following to login:

    array (
    'db_host_name' => 'localhost',
    'db_host_instance' => 'SQLEXPRESS',
    'db_user_name' => 'root',
    'db_password' => '*******',
    'db_name' => 'sugarcrm',
    'db_type' => 'mysql',
    ),
    That has the same results. I cant log into the database via phpMyadmin. Iīve also checked the config.inc.php under the phpMyadmin folder. Iīm always using the same user and password but I canīt seem to log in.

    Any help would be great.
    Last edited by skuliaxe; 2010-02-16 at 05:04 PM. Reason: Solved

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: phpMyadmin - Can not log in using correct user/pass!

    The details in config.php relate to your database authentication. Are you trying to login as "root" into sugarcrm ... if so, try logging in as "admin" with your usual password

  3. #3
    skuliaxe is offline Senior Member
    Join Date
    Feb 2010
    Posts
    50

    Default Re: phpMyadmin - Can not log in using correct user/pass!

    Thanks for the reply,
    I open http://localhost:80/phpMyadmin and use "root" and "*******" where ***** is the database connection password for the SugarCRM install.
    I have also tried my SugarCRm "admin" and "*******" where ******* is actually the same as the database password. I use a 20+ letter and secure password.

    Could there be a conflict if the mysql root password is the same as sugarcrm admin password?

    Kind regards
    Skuli
    Last edited by skuliaxe; 2010-02-11 at 09:30 AM.

  4. #4
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: phpMyadmin - Can not log in using correct user/pass!

    This sounds like it might be a problem with the session.save_path setting in your PHP.INI.

    Give it a look to make sure it is set to a directory that exists and to which the web user has full access.

    I've seen similar situations where it might let you login, but then when you click on something, you immediately get sent to login again.

    If you need to adjust your PHP.INI, make sure that you restart your web service to apply the setting.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  5. #5
    skuliaxe is offline Senior Member
    Join Date
    Feb 2010
    Posts
    50

    Default Re: phpMyadmin - Can not log in using correct user/pass!

    Quote Originally Posted by Angel View Post
    This sounds like it might be a problem with the session.save_path setting in your PHP.INI.

    Give it a look to make sure it is set to a directory that exists and to which the web user has full access.
    In my php.ini the session save path is:
    session.save_path = "C:\Program Files\sugarcrm/php/tmp"
    And in that tmp folder there are files named "sess_0eqc8ca5sfcpcf752........."

    So that does not seem to be the problem. I have tried Explorer 6 and Chrome 4, cleared all browsing history and temporary files, sessions. Iīm looking on Google but cant find a solution for my instance. Hoping that other SugarCRM users that have used the Stack installer have a better idea what this might be.

  6. #6
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: phpMyadmin - Can not log in using correct user/pass!

    You can set the application password of user admin in phpMAdmin to ***newpassword*** with the sql command

    update users
    set user_hash = md5('***newpassword***')
    where user_name = 'admin';
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  7. #7
    skuliaxe is offline Senior Member
    Join Date
    Feb 2010
    Posts
    50

    Default Re: phpMyadmin - Can not log in using correct user/pass!

    Well Iīve manage to log into phpMyAdmin. But the SugarCrm database is not there. Just the information_schema and an empty test database.

    Any ideas how to connect the SugarCRM database?

  8. #8
    ptemplin7 is offline Sugar Community Member
    Join Date
    Jun 2007
    Location
    Puget Sound Washington
    Posts
    380

    Default Re: phpMyadmin - Can not log in using correct user/pass!

    Sounds like the database was not created correctly the first time.

    You can change the line install = True; tio install=false; int he config.php and runt he install script again.

    After that check to see if sugarcrm (default) DB was created if not. You have some other issue.

    Good Luck, Paris

  9. #9
    skuliaxe is offline Senior Member
    Join Date
    Feb 2010
    Posts
    50

    Default Re: phpMyadmin - Can not log in using correct user/pass!

    Thank for the replies.

    I am currently using SugarCRM with data. So the database and tables are there. phpMyAdmin is just not connection correctly. I didnīt change any default ports so I would think that the port phpMyAdmin is using is correct.

  10. #10
    skuliaxe is offline Senior Member
    Join Date
    Feb 2010
    Posts
    50

    Default Re: phpMyadmin - Can not log in using correct user/pass!

    Thanks for all the help.
    For some reasong the sugarcrm database is now showing up. I didnīt change a thing. Strange.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. portal - pass user id to external site
    By mikesolomon in forum Help
    Replies: 18
    Last Post: 2009-12-31, 04:38 PM
  2. PHPMyAdmin
    By mariodelzo in forum General Discussion
    Replies: 0
    Last Post: 2008-07-21, 09:15 PM
  3. How to run phpMyAdmin
    By southwestcrm in forum Installation and Upgrade Help
    Replies: 5
    Last Post: 2007-07-26, 08:11 AM
  4. phpMyAdmin - user guide? how do I run it?
    By mcichelli in forum Help
    Replies: 1
    Last Post: 2006-06-17, 10:49 PM
  5. Replies: 0
    Last Post: 2005-08-10, 04:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •