lasir (@lasir)

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Users in wrdp1

    thechamp_risal (Privileges: ALL PRIVILEGES)

    Connection Strings

    Perl $dbh = DBI->connect(“DBI:mysql:thechamp_wrdp1:localhost”,”thechamp_risal”,”<PASSWORD HERE>”);

    PHP $dbh=mysql_connect (“localhost”, “thechamp_risal”, “<PASSWORD HERE>”) or die (‘I cannot connect to the database because: ‘ . mysql_error());

    mysql_select_db (“thechamp_wrdp1”);

    thechamp_wrdp1 (Privileges: ALL PRIVILEGES)

    Connection Strings

    Perl $dbh = DBI->connect(“DBI:mysql:thechamp_wrdp1:localhost”,”thechamp_wrdp1″,”<PASSWORD HERE>”);

    PHP $dbh=mysql_connect (“localhost”, “thechamp_wrdp1”, “<PASSWORD HERE>”) or die (‘I cannot connect to the database because: ‘ . mysql_error());

    mysql_select_db (“thechamp_wrdp1”);

    here is MySql info also. Is there a way i could just run a standalone install and after the install intergrate them?

    “Also, those are warnings, which are not good, but the connection was still made to the database. ” thats encouraging lol. Here is my wp-config file.

    Also both users have full access(thechamp_wrdp1 and thechamp_risal). I thought at first it was some type of permission issue so i created thechamp_risal to test.

    thanks again for the quick response

    <?php

    // ** MySQL settings ** //

    define(‘DB_NAME’, ‘thechamp_wrdp1’); // The name of the database

    define(‘DB_USER’, ‘thechamp_wrdp1’); // Your MySQL username

    define(‘DB_PASSWORD’, ‘xxxx’); // …and password

    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    define(‘DB_CHARSET’, ‘utf8’);

    define(‘DB_COLLATE’, ”);

    // You can have multiple installations in one database if you give each a unique prefix

    $table_prefix = ‘wp_’; // Only numbers, letters, and underscores please!

    // Change this to localize WordPress. A corresponding MO file for the

    // chosen language must be installed to wp-content/languages.

    // For example, install de.mo to wp-content/languages and set WPLANG to ‘de’

    // to enable German language support.

    define (‘WPLANG’, ”);

    /* That’s all, stop editing! Happy blogging. */

    define(‘ABSPATH’, dirname(__FILE__).’/’);

    require_once(ABSPATH.’wp-settings.php’);

    ?>

Viewing 2 replies - 1 through 2 (of 2 total)