Arman Bagheri
Arman Bagheri

Reputation: 630

connect to server phpmyadmin database from local in wordpress

I want to connect my local Wordpress database to cpanel database server phpmyadmin.

this is my wp-config file configs

   define( 'DB_NAME', 'pixelshop' );

   /** MySQL database username */
   define( 'DB_USER', 'root' );

   /** MySQL database password */
   define( 'DB_PASSWORD', '' );

   /** MySQL hostname */
   define( 'DB_HOST', 'localhost' );

   /** Database Charset to use in creating database tables. */
   define( 'DB_CHARSET', 'utf8mb4' );

   /** The Database Collate type. Don't change this if in doubt. */
   define( 'DB_COLLATE', '' );

Upvotes: 0

Views: 289

Answers (1)

ACM
ACM

Reputation: 38

You will not be able to connect local and online banks. You can connect a local WP to an online bank only when a Hosting makes this available, but you should check with your hosting provider if this option is enabled.

Upvotes: 2

Related Questions