Help Linking Oscommerce To Database
#1
Posted 11 April 2005 - 08:11 PM
Thanks
#2
Posted 12 April 2005 - 07:24 AM
I'm sure someone will be along to help you. Normally the host address is "localhost".
Lead Forum Moderator
TotalChoice Hosting, L.L.C.
Webhosting by Total Choice Web Hosting - General Support Forum
I am the Lead Forum Moderator. While I can assist in answering most of your hosting related questions, I am unable to answer questions about specifics relating to your account such as billing and server related issues. Should you need assistance in these areas, please contact our Help Desk or our many other options. Another good place to find answers is with our help pages, tutorials and movie tutorials.
#3
Posted 12 April 2005 - 01:07 PM
I believe Bruce is correct - you should be able to connect to your MySQL database by configuring OSCommernce to connect with the hostname of 'localhost' (though I don't have any experience with OSCommerce).
The Tweezer's Edge v3
#4
Posted 12 April 2005 - 01:29 PM
Forum Moderator
TotalChoice Hosting, L.L.C.
Any links or suggestions for third party software/sites should be used at your own risk. My opinions and recommendations are not necessary those of TCH and TCH is not responsible.
As a Forum Moderator I can assist in answering many of your hosting related questions. However, I am unable to answer questions about specifics relating to your account such as billing and server related issues. Should you need assistance in these areas, please contact our Help Desk or our many other options. Another good place to find answers is with our help pages, tutorials and movie tutorials.
Web Hosting by Total Choice Web Hosting - 24/7 Help Desk
#5
Posted 12 April 2005 - 02:31 PM
Forum Moderator
TotalChoice Hosting, L.L.C.
Web Hosting by Total Choice Web Hosting - For Your Family - Web Hosting Family!
Any links or suggestions for third party software/sites should be used at your own risk.
My opinions and recommendations are not necessarily those of TCH and TCH is not responsible.
I am a Forum Moderator and a volunteer. While I can assist in answering most of your hosting related questions, I am unable to answer questions about specifics relating to your account such as billing and server related questions. Should you need assistance in these areas, please contact our Help Desk.
treasure your pets
The Turtle says "A little knowledge is a dangerous thing,
so keep learning!"
#6
Posted 19 April 2005 - 07:05 PM
TCH-Bruce, on Apr 12 2005, 07:24 AM, said:
I'm sure someone will be along to help you. Normally the host address is "localhost".
<{POST_SNAPBACK}>
so what would the address string look like. ie. www.localhost.com/username_databasename ??
is that correct?
#7
Posted 19 April 2005 - 07:09 PM
Lead Forum Moderator
TotalChoice Hosting, L.L.C.
Webhosting by Total Choice Web Hosting - General Support Forum
I am the Lead Forum Moderator. While I can assist in answering most of your hosting related questions, I am unable to answer questions about specifics relating to your account such as billing and server related issues. Should you need assistance in these areas, please contact our Help Desk or our many other options. Another good place to find answers is with our help pages, tutorials and movie tutorials.
#8
Posted 19 April 2005 - 07:54 PM
but I still continue to get this error:
Quote
The error message returned is:
Access denied for user: 'xxxxxxxxxxx_@localhost' (Using password: YES)
Please click on the Back button below to review your database server settings.
If you require help with your database server settings, please consult your hosting company.
I must be doing somthing wrong?? This was so easy on my old server.
#9
Posted 19 April 2005 - 08:18 PM
what you have so far.
You went to cpanel > MySql
and created a database
then created a user
and then added the user to that database
all in MySql.
the connection info
will look like this
localhost: localhost
Database: YourCpanelName_yourDatabaseName
user: YourCpanelName_DatabaseUserName
Password: *******
Forum Moderator
TotalChoice Hosting, L.L.C.
Web Hosting by Total Choice Web Hosting - For Your Family - Web Hosting Family!
Any links or suggestions for third party software/sites should be used at your own risk.
My opinions and recommendations are not necessarily those of TCH and TCH is not responsible.
I am a Forum Moderator and a volunteer. While I can assist in answering most of your hosting related questions, I am unable to answer questions about specifics relating to your account such as billing and server related questions. Should you need assistance in these areas, please contact our Help Desk.
treasure your pets
The Turtle says "A little knowledge is a dangerous thing,
so keep learning!"
#10
Posted 19 April 2005 - 08:50 PM
TCH-Don, on Apr 19 2005, 08:18 PM, said:
what you have so far.
You went to cpanel > MySql
and created a database
then created a user
and then added the user to that database
all in MySql.
the connection info
will look like this
localhost: localhost
Database: YourCpanelName_YourCpanelName
user: YourCpanelName_DatabaseUserName
Password: *******
<{POST_SNAPBACK}>
I made sure that I was inputing things the same way and now I am getting this error:
Quote
The error message returned is:
Access denied for user: 'YourCpanelName_DatabaseUserName@localhost' to database 'YourCpanelName_DatabaseName'
Please click on the Back button below to review your database server settings.
If you require help with your database server settings, please consult your hosting company.
So I guess it is now trying to access the DB but with no luck, as before it was just giving me the error access denied.
#11
Posted 19 April 2005 - 09:31 PM
skylab001, on Apr 19 2005, 08:50 PM, said:
You must create the user name in the database using cpanel before you can use it, you cpanel name isn't automatically added to the database when the account is created.
#12
Posted 19 April 2005 - 09:53 PM
Database: YourCpanelName_YourCpanelName
should be
Database: YourCpanelName_yourDatabaseName
But I think that is what you have.
the most common problem is
not creating a user
and then adding the user to the database
all of this in MySql.
Thats what the error looks like.
I too do not use OSCommernce,
so if this is not it,
hopefully someone that uses it will be along to help.
Don't give up.
Forum Moderator
TotalChoice Hosting, L.L.C.
Web Hosting by Total Choice Web Hosting - For Your Family - Web Hosting Family!
Any links or suggestions for third party software/sites should be used at your own risk.
My opinions and recommendations are not necessarily those of TCH and TCH is not responsible.
I am a Forum Moderator and a volunteer. While I can assist in answering most of your hosting related questions, I am unable to answer questions about specifics relating to your account such as billing and server related questions. Should you need assistance in these areas, please contact our Help Desk.
treasure your pets
The Turtle says "A little knowledge is a dangerous thing,
so keep learning!"

Help













