Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>MySQL treats logins as specific to the host they originate from. You can have a different password from your home machine than the one you use on the server itself, and you can have entirely different sets of permissions granted to the same username from different origin hosts.</p> <p>On PHPMyadmin, the database is running on the same server as the web server, and therefore refers to itself as <code>localhost</code>, with IP <code>127.0.0.1</code>. Your machine on which Workbench is installed must access MySQL with different credentials than your <code>username@localhost</code>. The server requires you to grant access to your username from any host you intend to connect from.</p> <p>In PhpMyAdmin, you will need to grant access to your database from the remote host: (See also Pekka's answer for how to allow connections from <em>any</em> host)</p> <pre><code>GRANT ALL PRIVILEGES on dbname.* TO yourusername@your_remote_hostname IDENTIFIED BY 'yourpassword'; </code></pre> <p>To see all the grants you currently have on <code>localhost</code> so that you can duplicate them for the remote host:</p> <pre><code>SHOW GRANTS FOR yourusername@localhost; </code></pre> <p>Additionally, the MySQL server needs to be setup to accept remote connections in the first place. This isn't always the case, especially on web hosting platforms. In the <code>my.cnf</code> file, the <code>skip-networking</code> line has to be removed or commented out. If there is no <code>skip-networking</code> line, you must comment out the line: </p> <pre><code>bind-address = 127.0.0.1 </code></pre> <p>...then restart MySQL.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload