• 23-04-2021, 19:06:05
    #1
    Merhaba, Arkadaşlar Sql i ana sunucumdan ayırmak İstiyorum Farklı Bir Sunucuya Sql Kurdum Fakat DB_HOST ip adresini mi yacazağım sadece nasıl olacak billmiyorum yardımcı olur musunuz.

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define( 'DB_NAME', 'vt' );
    /** MySQL database username */
    define( 'DB_USER', 'user' );
    /** MySQL database password */
    define( 'DB_PASSWORD', 'şifre' );
    /** MySQL hostname */
    define( 'DB_HOST', 'localhost' );
    /** 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', '' );
  • 23-04-2021, 19:08:51
    #2
    Evet ip adresi olacak localhost işe yaramaz
  • 23-04-2021, 19:10:05
    #3
    mangawow adlı üyeden alıntı: mesajı görüntüle
    Merhaba, Arkadaşlar Sql Ayırmak İstiyorum Farklı Bir Sunucuya Sql Kurdum Fakat DB_HOST ip adresini mi yacazağım sadece nasıl olacak billmiyorum yardımcı olur musunuz.

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define( 'DB_NAME', 'vt' );
    /** MySQL database username */
    define( 'DB_USER', 'user' );
    /** MySQL database password */
    define( 'DB_PASSWORD', 'şifre' );
    /** MySQL hostname */
    define( 'DB_HOST', 'localhost' );
    /** 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', '' );

    ip:3306 şeklinde yazmalısın localhost yerine, mysql sunucusunda 3306 portunun aktif olup olmadığını kontrol edin buna ek olarak bağlantı kurmadan IP izni vb. şeyler varsa bunlara izin verin.
  • 23-04-2021, 19:20:33
    #4
    mangawow adlı üyeden alıntı: mesajı görüntüle
    Merhaba, Arkadaşlar Sql i ana sunucumdan ayırmak İstiyorum Farklı Bir Sunucuya Sql Kurdum Fakat DB_HOST ip adresini mi yacazağım sadece nasıl olacak billmiyorum yardımcı olur musunuz.

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define( 'DB_NAME', 'vt' );
    /** MySQL database username */
    define( 'DB_USER', 'user' );
    /** MySQL database password */
    define( 'DB_PASSWORD', 'şifre' );
    /** MySQL hostname */
    define( 'DB_HOST', 'localhost' );
    /** 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', '' );
    define( 'DB_NAME', 'veritabaniadi' );
    /** MySQL database username */
    define( 'DB_USER', 'kullaniciadi' );
    /** MySQL database password */
    define( 'DB_PASSWORD', 'şifre' );
    /** MySQL hostname */
    define( 'DB_HOST', '1.1.1.1:3306' );

    veritabaniadi, kullaniciadi, şifre ve 1.1.1.1:3306 parametrelerini kendinize göre ayarlayın.
  • 23-04-2021, 19:23:38
    #5
    Üyeliği durduruldu
    Hedef sunucuda Remote MySQL parametresini açmanız gerekir. Bu tip işlemler sunucuyu modifiye etmekten farksızdır.
  • 24-04-2021, 22:19:19
    #6
    iki sistemde plesk sistem lakin ip : 3306 portu ile sql bağladım fakat bağlantı kurulmuyor
    yardımcı olabiliecek var mı