Jump to content


Photo

mysqli_connect


  • Please log in to reply
1 reply to this topic

#1 calmchess

calmchess

    Advanced Member

  • Members
  • PipPipPip
  • 297 posts

Posted 24 May 2013 - 10:06 PM

if I have two client applications calling myqli_query at the same instant in time will they both be honored by the mysql database or will a collision and error condition occur on one of the db transactions?

 

--calmchess



#2 xenLiam

xenLiam

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts
  • LocationManila
  • Age:16

Posted 25 May 2013 - 12:02 AM

That depends on what you are trying to achieve. You need to provide the resource in mysqli_query anyway, so making two separate mysqli_connect resources will probably not conflict each other once they are used in queries.


Lives by faith, thinks by logic.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com