Help with database install. (4 posts)

  1. armadaoffice
    Posted 11 years ago #

    Hi I have set the following.

    define('DB_NAME', 'db.armadadistribution.co.uk'); // The name of the database
    define('DB_USER', 'armadacomputers4'); // Your MySQL username
    define('DB_PASSWORD', 'XXXXXX'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value.

    Is this correct my ISP is freedom2surf and I currently have several databases running on our server with no problems. So i know they are all working okay.

    My ISP's control panels lists the username and database name as ArmadaComputers4 so am unsure what to put in DB_NAME also I must have to point the code at the database location db.armadadistribution.co.uk but also unsure where to put this reference.

    Your help in clearing this up is most appreciated.

  2. Mark (podz)
    Support Maven
    Posted 11 years ago #

    I think localhost is wrong for f2s ?
    Put the "db.armadadistribution.co.uk" there ?

  3. armadaoffice
    Posted 11 years ago #

    Okay I now have

    define('DB_NAME', 'armadacomputers4');
    define('DB_USER', 'armadacomputers4');
    define('DB_PASSWORD', 'XXXXXX');
    define('DB_HOST', 'db.armadadistribution.co.uk');

    But still no joy, is the db_name supposed to be a table i need to construct inside armadacomputers4 or does the install program create this itself in this case should db_name just be the name I wish the database to be.


  4. armadaoffice
    Posted 11 years ago #

    forget that sorted thanks a lot, note to self. Once altering config file upload to server: doooooooooooooh

Topic Closed

This topic has been closed to new replies.

About this Topic