chinmayborkar3 wrote:How can I Set the Ip. In which File I have to do this configuration ?
In your router. It depends on your router where and how to set it. Most routers have a menu like "Forwarded Ports" or similar. The router also should have a screen where it shows all connected PCs and their LAN IPs. You have to forward the port 3306 to the PC running MariaDB.
BUT: Running an SQL server (like MariaDB) not on the same computer (i.e. localhost) or at least not in the same LAN, but instead remote via Internet on another PC is extremely slow and a huge bottle neck. I cannot recommend to do so. Any SQL command which results in a big table will have lots of internet traffic based I/O which is way slower than TCPIP on LAN or localhost. You really *should* run the main scripts (PHP or whatever) on the same server or LAN as the MariaDB server.