magneteye Posted December 12, 2002 Posted December 12, 2002 My username and password i set for the database do not work. I also tried the user/pass for my server, doesnt work either. what are the user/pass based on, and where do you set it? thanks, matt
mattice Posted December 12, 2002 Posted December 12, 2002 What version of osCommerce....? GIVE DETAILS. If you use Ian's loaded snapshot: Read the docs. They'll tell you the default admin/pass is login: default pass: admin For mySQL passwords you need to contact your system admin or hosting provider. "Politics is the art of preventing people from taking part in affairs which properly concern them"
magneteye Posted December 12, 2002 Author Posted December 12, 2002 I just uploaded via FTP and then ran the install. OSC Version 2.2 it asked me for db username/password during install. but, what the admin login by default? nothing in the docs mention it. ? matt
mattice Posted December 12, 2002 Posted December 12, 2002 it asked you for the MYSQL password and username. They're hosting provider related. If you do not know them you should ask your provider. HTH Mattice "Politics is the art of preventing people from taking part in affairs which properly concern them"
magneteye Posted December 12, 2002 Author Posted December 12, 2002 yeah i know. i set my username and password for the db in Cpanel. thats not a problem. so apparently it should work, right? the question is: when you goto admin and it prompts for user/pass, it wants the DB user/pass, or does it want the Server user/pass? i tried both. no dice. i checked configure.php and it has correct user/pass info for the mysql db. so i thought it should work. :?: -m
Guest Posted December 12, 2002 Posted December 12, 2002 If you use Ian's loaded snapshot: Read the docs. Forgive my ignorance, but who's Ian and does the latest snapshot password protect the admin folder? Hmm...maybe I don't have the latest version. :?
magneteye Posted December 12, 2002 Author Posted December 12, 2002 CRAP! ok, i think i got the user/pass but then it takes me to this screen: 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration [TEP STOP] now what is this about?
mattice Posted December 12, 2002 Posted December 12, 2002 How is the Admin protected then? By a popup thingie? In the default installation there is no pass protection on osCommerce admin side.... ?!? "Politics is the art of preventing people from taking part in affairs which properly concern them"
magneteye Posted December 13, 2002 Author Posted December 13, 2002 ok, i figured out the password thing. it was protected. i removed it for now. now when i go here: http://store.cloud9media.com/admin/index.php i get: 1046 - No Database Selected select configuration_key as cfgKey, configuration_value as cfgValue from configuration [TEP STOP] Thanks for taking the time to help me... -matt
magneteye Posted December 13, 2002 Author Posted December 13, 2002 nevermind. now i got a bit further... Warning: Access denied for user: 'cloud9_magneteye@localhost' (Using password: YES) in /home/cloud9/public_html/store/admin/includes/functions/database.php on line 19 Warning: MySQL Connection Failed: Access denied for user: 'cloud9_magneteye@localhost' (Using password: YES) in /home/cloud9/public_html/store/admin/includes/functions/database.php on line 19 Unable to connect to database server! my user/pass are correct, but it wont let me in. argh! oh well, i searched forums and havent found an answer yet. i'll keep trying things. thanks.
Guest Posted December 13, 2002 Posted December 13, 2002 No Data Base selected means that you didnt enter the right name for your data base this is a cpanel issue try your username_catalog or what ever you named the data base if it difffers from catalog let us know how you make out
magneteye Posted December 13, 2002 Author Posted December 13, 2002 OK! I got it all sorted out! PHEW! Apparently you need to open the configure.php in admin/includes and set values there, besides the configure.php in catalog/includes. no one mentions this in the docs...not that i could see. so, it works now. sorry if i was a bother. THANKS!!! matt
ukracer Posted December 19, 2002 Posted December 19, 2002 nevermind. now i got a bit further... Warning: Access denied for user: 'cloud9_magneteye@localhost' (Using password: YES) in /home/cloud9/public_html/store/admin/includes/functions/database.php on line 19 Warning: MySQL Connection Failed: Access denied for user: 'cloud9_magneteye@localhost' (Using password: YES) in /home/cloud9/public_html/store/admin/includes/functions/database.php on line 19 Unable to connect to database server! my user/pass are correct, but it wont let me in. argh! oh well, i searched forums and havent found an answer yet. i'll keep trying things. thanks. I have got exactly the same thing did you ever get to the bottom of this??? WHo is your host??
magneteye Posted December 19, 2002 Author Posted December 19, 2002 yes. Se my last post that says: Apparently you need to open the configure.php in admin/includes and set values there, besides the configure.php in catalog/includes. So, open configure.php in the admin/includes folder and check the settings. They should natch the configure.php in catalog/includes folder. Its the last 6 lines or so. Hope you get it! -Matt
ukracer Posted December 19, 2002 Posted December 19, 2002 yes. Se my last post that says: Apparently you need to open the configure.php in admin/includes and set values there, besides the configure.php in catalog/includes. So, open configure.php in the admin/includes folder and check the settings. They should natch the configure.php in catalog/includes folder. Its the last 6 lines or so. Hope you get it! -Matt Got it! Both the password and username had a space at the end between the quotes. I removed this and all was well. But I can't work out why mysql let the datbase populate without the correct password and username!>>> Thanks anyway.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.