How two servers use the same database

Server An is old, with php + apache + mysql applications

Server B"s application wants to use A"s mysql data

is there a simple way, except for server A to write api

Mar.09,2021

just write the port ip username and password for the database, right? At most, open the whitelist or firewall


directly link to your A's database. There are all these links in the configuration file

.
  • How to reload MySQL's my.cnf?

    Server version: CentOS Linux release 7.4.1708 (Core) MySQL version: 5.7.21 -Source Code installation $ mysql ERROR 2002 (HY000): Can t connect to local MySQL server through socket u01 my3306 mysql.sock (2) this is an error I reported when I lo...

    Mar.04,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c25d72-33792.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c25d72-33792.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?