# Querious x Local

**URL:** <https://community.localwp.com/t/querious-x-local/43016>\
**Category:** Support\
**Created:** [May 22, 2024, 9:16am UTC](https://community.localwp.com/t/querious-x-local/43016 "2024-05-22T09:16:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aheilong](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/aheilong/32/21852_2.png) [@aheilong](https://community.localwp.com/u/aheilong)\
**Post date:** [May 22, 2024, 9:16am UTC](https://community.localwp.com/t/querious-x-local/43016/1 "2024-05-22T09:16:45Z")

</div>

Hi I cam accross a post recently regarding [large databases](https://community.localwp.com/t/install-large-databse/37323)

In it there was one specific comment about [dealing with issues with SQL queries with an app called Querious](https://community.localwp.com/t/install-large-databse/37323/5)

I was wondering if anybody in the community had used it with Local and if so, how were you able to connect it with a Local database.

* * *

### System Details

- **Local Version:**  
Version 9.0.2+6676

- **Operating System (OS) and OS version:**  
MacOS 14.5

---

<div class="post-metadata">

**Author:** ![emmtre](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/emmtre/32/15116_2.png) [@emmtre](https://community.localwp.com/u/emmtre)\
**Post date:** [May 22, 2024, 11:10am UTC](https://community.localwp.com/t/querious-x-local/43016/2 "2024-05-22T11:10:50Z")

</div>

Yeah, I have been using [Querious](https://store.araelium.com/querious/) for many years. You could either use Socket or TCP/IP to connect. There are a few more steps involved with TCP/IP. You have to create a user and grant access and find the port number for the site. The easiest way is just to use the Socket path for the site and the correct database credentials. Please see the screenshots below.

Using TCP/IP to connect to Local MySQL databases:

```auto
mysql -e "CREATE USER 'root'@'127.0.0.1' IDENTIFIED BY 'root'; GRANT ALL ON *.* TO 'root'@'127.0.0.1';"
mysql -e "SHOW VARIABLES WHERE Variable_name = 'port';"

```

> **[Website Database](https://share.cleanshot.com/QYR6Ly117sxYMHgzpZ2N)**
>
> Screenshot uploaded to CleanShot Cloud

> **[Website Socket](https://share.cleanshot.com/TS2zXv0pJs6wzPPmBDWM)**
>
> Screenshot uploaded to CleanShot Cloud

> **[Website Overview](https://share.cleanshot.com/yndw3xTb5nmTcRCsvHrk)**
>
> Screenshot uploaded to CleanShot Cloud

> **[Website TCPIP](https://share.cleanshot.com/TQhGJcvKbb9cmMHfzDsl)**
>
> Screenshot uploaded to CleanShot Cloud

---

<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:** [August 20, 2024, 11:11am UTC](https://community.localwp.com/t/querious-x-local/43016/3 "2024-08-20T11:11:00Z")

</div>

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