# Where and how does this create Wordpress MySQL DBs?

**URL:** <https://community.localwp.com/t/where-and-how-does-this-create-wordpress-mysql-dbs/42079>\
**Category:** Support\
**Tags:** mac\
**Created:** [March 24, 2024, 3:31pm UTC](https://community.localwp.com/t/where-and-how-does-this-create-wordpress-mysql-dbs/42079 "2024-03-24T15:31:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MoreeSlla](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/moreeslla/32/21090_2.png) [@MoreeSlla](https://community.localwp.com/u/MoreeSlla)\
**Post date:** [March 24, 2024, 3:31pm UTC](https://community.localwp.com/t/where-and-how-does-this-create-wordpress-mysql-dbs/42079/1 "2024-03-24T15:31:37Z")

</div>

### What issue or error are you experiencing?

Can’t seem to understand the privileges that Local sets up when installing a fresh Wordpress. The database name is always “local”? If I have many WP on my localhost, will all the DBs be called “local”?

* * *

### What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

None - see question

* * *

### System Details

- **Local Version:**  
Latest 8.3.1+6550

- **Operating System (OS) and OS version:**  
Mac OSX latest with all security updates

* * *

### Local Logs

Attach your Local Logs here ([Help Doc - Retrieving Local’s Log](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/))  
Not needed

* * *

_ **Security Reminder** _  
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

---

<div class="post-metadata">

**Author:** ![MoreeSlla](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/moreeslla/32/21090_2.png) [@MoreeSlla](https://community.localwp.com/u/MoreeSlla)\
**Post date:** [March 24, 2024, 3:32pm UTC](https://community.localwp.com/t/where-and-how-does-this-create-wordpress-mysql-dbs/42079/2 "2024-03-24T15:32:25Z")

</div>

To be more precise - I can see the “wp-config.php” file in the public directory and see what database details were set up. But I want to access this MySQL in the terminal, or in phpmyadmin or something on my localhost. The “AdminerEvo” is pretty pathetic.

---

<div class="post-metadata">

**Author:** ![nickc](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nickc/32/21209_2.png) [@nickc](https://community.localwp.com/u/nickc)\
**Post date:** [March 27, 2024, 10:07am UTC](https://community.localwp.com/t/where-and-how-does-this-create-wordpress-mysql-dbs/42079/3 "2024-03-27T10:07:07Z")

</div>

Local runs a separate MySQL instance for each site. Local connects to those via a different socket file (Linux, macOS) or port number (Windows).

Each site’s database is named ‘local’, but they exist under different MySQL instances so they won’t conflict.

You have a few options to connect to your databases if you don’t want to use AdminerEvo:

## 1. Use `mysql` in the terminal

- Start your site.
- Click “open site shell”.
- Type `mysql`.

It will open a session connected to that site’s MySQL instance.

## 2. Use the TablePlus app and its add-on for Local

- Install [TablePlus](https://tableplus.com/).
- Install and activate the TablePlus add-on from the “add-ons” pane in Local.
- Start your site in Local.
- Click “Open TablePlus” in the “Database” pane for your site.

## 3. Use another MySQL client of your choice

- Start your site.
- View database connection information on the “Database” pane for your site.
- Enter those details into your MySQL client (the socket or host and port, as well as the database name, username, and password are all available from the database tab).

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [June 25, 2024, 10:07am UTC](https://community.localwp.com/t/where-and-how-does-this-create-wordpress-mysql-dbs/42079/4 "2024-06-25T10:07:17Z")

</div>

Closed on June 25, 2024, 10:07am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
