one data base two site .. not working pls help

Discussion in 'PHP' started by amber.long83, May 10, 2012.

  1. #1
    hello , i have to connect two wordpress site ( located defferant server ) with single database. i put ip to access database list and config like this

    ** The name of the database for WordPress */
    define('DB_NAME', 'fonytgrd_kfrdf);
    
    /** MySQL database username */
    define('DB_USER', 'fontgrad_tachy0n');
    
    /** MySQL database password */
    define('DB_PASSWORD', '7R$R$');
    
    /** MySQL hostname */
    define('DB_HOST', '174.121.1.5);
    
    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');
    
    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');
    PHP:

    but its not working ..pls help
     
    amber.long83, May 10, 2012 IP
  2. Wesleyy

    Wesleyy Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    define('DB_NAME', 'fonytgrd_kfrdf');

    Missing the last single quote, same with your DB_HOST line.

    I hope you are not posting your real address and password there.
     
    Wesleyy, May 10, 2012 IP