Say I have one MySQL schema named srvconfig with a table named tbl_cfg with following fields:
cfg_idsfg_srv_namecfg_srv_ipcfg_srv_portcfg_srv_desc
There is another schema called customer with a table named lcl_cfg with following fields:
cust_idcust_infoassigned_srv_idcust_serv
In the schema called customer in lcl_cfg.assigned_srv
I need to assign the value of cfg_id (which is the ID of the server from the schema srvconfig.tbl_cfg.cfg.id)
Can I achieve this using phpMyAdmin or do I need to do it with a PHP script?
Try this