MySql

Discussion in 'Software' started by mastermosley, Oct 11, 2005.

  1. mastermosley

    mastermosley Sergeant

    I got a problem. I have a webhost but they dont offer sql support. I have a forum ready so I went and got a free sql host. How do I change the config file for that.

    <?php


    // phpBB 2.x auto-generated config file
    // Do not change anything in this file!

    $dbms = 'mysql4';

    $dbhost = 'localhost';
    $dbname = '***********';
    $dbuser = '***_********';
    $dbpasswd = '**********';

    $table_prefix = 'phpbb_';

    define('PHPBB_INSTALLED', true);

    ?>

    That is what I got so far. Is there anything i can add to change the URL which it is pointing to?
     
  2. spaz

    spaz Specialist

    What exactly do you mean? Where are you indicating a URL?
     
  3. Wookie

    Wookie Sergeant Major

    $dbhost = 'localhost';
    $dbname = '***********';


    $dbhost would be the sql server your going to use, localhost indicates that script is pointing to the local machine for the server, replace it with something like

    mysql5.mywebsite.com


    and dbname is the name of the db they give you, usually named after your hosting account.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds