---
title: Using phpMyAdmin on AMIMOTO
description: Enable and access phpMyAdmin on self-hosting AWS accounts using AMIMOTO-AMIs TL:DR You'll first need to log into your server with SSH access. If you are self-hosting on AWS and you would like to acces
---

[Skip to content](https://knowledge.amimoto-ami.com/en/knowledge/using-phpmyadmin-on-amimoto#main-content)

- [English](https://knowledge.amimoto-ami.com/en/knowledge/using-phpmyadmin-on-amimoto)
- [日本語](https://knowledge.amimoto-ami.com/knowledge/self-phpmyadmin)

English

Show submenu for translations

![Amimoto-dark-ogp.png\]](https://knowledge.amimoto-ami.com/hs-fs/hubfs/Amimoto-dark-ogp.png?height=40&name=Amimoto-dark-ogp.png)

- ホーム
- 製品
- 価格
- ブログ
- 会社

Open main navigation

Close main navigation

- ホーム
- 製品
- 価格
- ブログ
- 会社
- - [English](https://knowledge.amimoto-ami.com/en/knowledge/using-phpmyadmin-on-amimoto)
    - [日本語](https://knowledge.amimoto-ami.com/knowledge/self-phpmyadmin)

  English
  
  Show submenu for translations
- [https://amimoto-ami.com/](https://amimoto-ami.com/)

[https://amimoto-ami.com/](https://amimoto-ami.com/)

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [Amimoto Help Center](https://knowledge.amimoto-ami.com/en/knowledge?hsLang=en)
2. [Amimoto AMI](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-ami?hsLang=en)
3. [Connection to Amimoto AMI](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-ami?hsLang=en#connection-to-amimoto-ami)

# Using phpMyAdmin on AMIMOTO

Enable and access phpMyAdmin on self-hosting AWS accounts using AMIMOTO-AMIs

TL:DR

1. phpMyAdmin is available but disabled by default
2. Modifying one in your config file will enable access to phpMyadmin
3. You'll need [SSH access](https://knowledge.amimoto-ami.com/en/knowledge/3.-connecting-to-amimoto-ami-with-ssh?hsLang=en) to enable this.
4. This already enabled for [Managed Hosting](https://amimoto-ami.com/managed-hosting) customers

### Enabling phpMyAdmin

You'll first need to log into your server with [SSH access](https://knowledge.amimoto-ami.com/en/knowledge/3.-connecting-to-amimoto-ami-with-ssh?hsLang=en).

If you are self-hosting on AWS and you would like to access phpMyAdmin on AMIMOTO you need to modify the main NGINX configuration file.

Depending on your AMI version one of the following conf files are located in:

```
/etc/nginx/conf.d/
```

```
- default.conf- example.com.conf
```

Most AMIs are set up with default.conf but your AMI may use the sites domain name such as example.com.conf.

Look for the following around line 61

```
# include /etc/nginx/phpmyadmin;location ~* /(phpmyadmin|myadmin|pma) { access_log off; log_not_found off; return 404; }
```

#### What does this code mean?

1. The include  portion is commented out. That line calls a phpMyAdmin config file and it's currently disabled.
2. The second line, location ~\*... , tells NGINX to send any users trying to access the url example.com/phpmyadmin to display a 404 or simply block it.

#### How to enable access to phpMyAdmin

1. Remove the comment hash from the include phpMyAdmin
2. Add a comment hash to the location block
3. Restart NGINX

```
include /etc/nginx/phpmyadmin;# location ~* /(phpmyadmin|myadmin|pma) { access_log off; log_not_found off; return 404; }
```

#### How to restart NGINX

```
$ sudo service nginx restart
```

#### Accessing phpMyAdmin

Then you can access to phpMyAdmin with [http://example.com/phpMyAdmin/](http://example.com/phpMyAdmin/).

Please note the mix of capital and lower case. In this case it matters.

The login user and password of phpMyAdmin are the same to the database's one in wp-config.php.

You can enable phpMyAdmin to follow the steps below.

**Disabling phpMyAdmin**

We limit access to phpMyAdmin by default so the hosting environment is more secure. There are cases when it's requires but most of the time this feature can be disabled.

We recommend rolling back the changes and limiting access after your done or adding your personal IP to the allowed list so only you can access it from your local machine.

- [Amimoto Managed Hosting](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-managed-hosting?hsLang=en#main-content)

    - [Basics](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-managed-hosting?hsLang=en#basics)
    - [Amimoto Essential Training](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-managed-hosting?hsLang=en#amimoto-essential-training)
    - [Migration tips for AMIMOTO Managed Hosting](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-managed-hosting?hsLang=en#migration-tips-for-amimoto-managed-hosting)
    - [Amimoto Dashboard Tips](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-managed-hosting?hsLang=en#amimoto-dashboard-tips)
    - [Connecting to the Server](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-managed-hosting?hsLang=en#connecting-to-the-server)
    - [Account and Billing](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-managed-hosting?hsLang=en#account-and-billing)
    - [Trouble shooting](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-managed-hosting?hsLang=en#trouble-shooting)
    - [WordPress Plugins](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-managed-hosting?hsLang=en#wordpress-plugins)
    - [Tips for DNS Vendors](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-managed-hosting?hsLang=en#tips-for-dns-vendors)
    - [Email](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-managed-hosting?hsLang=en#email)
    - [CDN and Cache control](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-managed-hosting?hsLang=en#cdn-and-cache-control)
    - [Server & AWS Management](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-managed-hosting?hsLang=en#server-aws-management)
    - [Integration](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-managed-hosting?hsLang=en#integration)
    - [Development](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-managed-hosting?hsLang=en#development)
- [Amimoto AMI](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-ami?hsLang=en#main-content)

    - [Getting Started with Amimoto-AMI](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-ami?hsLang=en#getting-started-with-amimoto-ami)
    - [Basics](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-ami?hsLang=en#basics)
    - [Connection to Amimoto AMI](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-ami?hsLang=en#connection-to-amimoto-ami)
    - [Tips](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-ami?hsLang=en#tips)
    - [FAQs](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-ami?hsLang=en#faqs)
    - [Trouble shooting](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-ami?hsLang=en#trouble-shooting)
    - [Getting Started with Amimoto JIN-KEI](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-ami?hsLang=en#getting-started-with-amimoto-jin-kei)
    - [Tips for JINKEI](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-ami?hsLang=en#tips-for-jinkei)
    - [Support](https://knowledge.amimoto-ami.com/en/knowledge/amimoto-ami?hsLang=en#support)
- [\[EN\] Amimoto Managed Hosting](https://knowledge.amimoto-ami.com/en/knowledge/en-amimoto-managed-hosting?hsLang=en#main-content)

    - [Company and Guidelines](https://knowledge.amimoto-ami.com/en/knowledge/en-amimoto-managed-hosting?hsLang=en#company-and-guidelines)

- ホーム
- 製品
- 価格
- ブログ
- 会社

[![Chill listening crop-3](https://knowledge.amimoto-ami.com/hs-fs/hubfs/Amimoto_Logomark_rgb.png?width=24&height=24&name=Amimoto_Logomark_rgb.png "Chill listening crop-3")](https://ja.amimoto-ami.com/)

Amimoto Help Center

<https://www.facebook.com/AmimotoAMI/> <https://twitter.com/Amimoto_Ami>

Copyright © 2026, 株式会社デジタルキューブ