Link to home
Start Free TrialLog in
Avatar of AnuarJamlus
AnuarJamlus

asked on

Question regarding now() for mysql

Suppose I have 2 servers. One is where the script is located and the other where the mysql server is located.

If my script runs a query that uses the mysql now() function, does mysql get the date on the script server or the mysql server?
ASKER CERTIFIED SOLUTION
Avatar of Loganathan Natarajan
Loganathan Natarajan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
since now() is an SQL function it will be executed by the MySQL server