Welcome Guest, Not a member yet? Register   Sign In
Problem With flex control panel
#1

[eluser]Justin Patel[/eluser]
Hello Friends,


I have created database on sever. I am trying to connect but it shows the error

Code:
An Error Was Encountered

Unable to connect to your database server using the provided settings.

I generally use the cpanel but first time I am using the PLESK ....

can some one please help me to get out of this

Code:
$active_group = "default";

$db['default']['hostname'] = "localhost";
$db['default']['username'] = "redtube";
$db['default']['password'] = "justin";
$db['default']['database'] = "leaseweb_redtube";
$db['default']['dbdriver'] = "mysql";
$db['default']['dbprefix'] = "";
$db['default']['active_r'] = TRUE;
$db['default']['pconnect'] = FALSE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";




---------------------------------------------------------------------------------
Some one may tell me how to assign the user to database if they have experience of PLESK control panel
---------------------------------------------------------------------------------

Thanks
#2

[eluser]Derek Allard[/eluser]
If this weren't CodeIgniter, how would you connect to this database? Can you provide specific code?
#3

[eluser]johnwbaxter[/eluser]
In plesk you go to the domain you want the db on. Then you click databases->new database->add new user.

Plesk doesn't do anything funny. You just need the db name and the username and password. Host will be localhost.




Theme © iAndrew 2016 - Forum software by © MyBB