Jump to content
xisto Community
Sign in to follow this  
Oni_BlueEyes

Mysql Help!

Recommended Posts

Ok... http://forums.xisto.com/no_longer_exists/
trying to install a LDU thing like phpnuke...and i dont know what to put in here

/* ======== Connect to the SQL DB======== */
require('system/database.'.$cfg['sqldb'].'.php');
ldu_connect($cfg['mysqlhost'], $cfg['mysqluser'], $cfg['mysqlpassword'], $cfg['mysqldb']);
unset($cfg['mysqlhost'], $cfg['mysqluser'], $cfg['mysqlpassword']);

/* ======== Configuration settings (from the DB) ======== */

ok...i went to cpanel>mysql databases> i made a new database named "ldu" which turned into hostjunk_ldu ...and i made a user and password....both named ldu.
and i made an access host named ldu....and i dont know which part to edit in that code^! help!

Share this post


Link to post
Share on other sites
require('system/database.'.$cfg['hostjunk_Idu'].'.php');[br]ldu_connect($cfg['localhost], $cfg['Idu'], $cfg['Idu'], $cfg['hostjunk_Idu']);[/br]unset($cfg['localhost'], $cfg['Idu'], $cfg['Idu']);

I hope that works. If it doesn't, post the error. I'm really sorry if it doesn't, I don't understand what unset does..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.