UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Technical Support > cPanel Shared Hosting

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 24-04-2007, 19:51
Junior Member
 
Join Date: Apr 2007
Posts: 4
Default database server settings..

Hello,

I've been searching on this forum but haven't found an answer yet:

I made a db in my hosting controller but can't connect to it...

It's a mysql-db, what do I have to use in my php-script for connection?

$database[dbserver]= ? ;
$database[dbuser]= ? ;
$database[dbname]= ? ;
$database[dbpass]="mypassword";

Greetings
Reply With Quote
  #2 (permalink)  
Old 24-04-2007, 20:20
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,404
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com
Default

settings should be as following :-

$database[dbserver]= "localhost";
$database[dbuser]= "user_dbusername";
$database[dbname]= "user_dbname";
$database[dbpass]="mypassword";
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
||
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
||
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
for FREE and earn 20% commission on each referral.
Reply With Quote
  #3 (permalink)  
Old 24-04-2007, 20:21
Member
 
Join Date: Apr 2007
Posts: 61
Default

$database[dbserver]= this is usually 'localhost';
$database[dbuser]= the username of the user which you have set permissions for to access the database;
$database[dbname]= the name of the database to which you wish to connect;
$database[dbpass]= this should be the password you set for the user which connects to the database;

Edit: Apologies. I did not see the above post when I began typing.
Reply With Quote
  #4 (permalink)  
Old 24-04-2007, 20:59
Junior Member
 
Join Date: Apr 2007
Posts: 4
Default

Hello,

that i all tried...

do I have to put "user_" in front of name and username?

I'm trying to connect to a db I made on Eukhost...
Reply With Quote
  #5 (permalink)  
Old 24-04-2007, 21:15
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,404
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com
Default

let me know your login username for hostingcontroller. I will get details of exact configuration from our windows system admins.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
||
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
||
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
for FREE and earn 20% commission on each referral.
Reply With Quote
  #6 (permalink)  
Old 25-04-2007, 05:14
Junior Member
 
Join Date: Apr 2007
Posts: 4
Default

My username is lrowlatt
Reply With Quote
  #7 (permalink)  
Old 25-04-2007, 14:16
Junior Member
 
Join Date: Apr 2007
Posts: 4
Default

Why oh why can't I connect to my database :s

access denied for 'user'@'localhost' all the time :s
Reply With Quote
  #8 (permalink)  
Old 25-04-2007, 17:08
Member
 
Join Date: Apr 2007
Posts: 61
Default

The 'user_' represents the username you use to login to cPanel. This must be appended to the beginning of the username and database you wish to connect with.

If this still does not help, I recommend opening a support ticket with your problem as that seems to be the general recommendation, and the problems seem to rectified very quickly if you do so.
Reply With Quote
  #9 (permalink)  
Old 25-04-2007, 20:18
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,404
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com
Default

Quote:
Originally Posted by hairyfreak View Post
The 'user_' represents the username you use to login to cPanel. This must be appended to the beginning of the username and database you wish to connect with.

If this still does not help, I recommend opening a support ticket with your problem as that seems to be the general recommendation, and the problems seem to rectified very quickly if you do so.
his account is on a windows server so I am not able to figure out what his database name should be. open a ticket from http://support.eukhost.com and provide me with the ticket number to chase our support people for quick reply.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
||
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
||
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
for FREE and earn 20% commission on each referral.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 07:53.

 

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

Business Web Hosting
100% uptime Hosting

Cpanel Hosting
cPanel Shared Hosting

Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

Customer Testimonials
eUK Customer Testimonials


knowledgebase articles

eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting


popular blog categories


Web Hosting
Website Hosting articles

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines

VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles