Q.1.
How many of the following use NULL to indicate failure? mysql_init(), mysql_real_connect()
Q.2.
How many of the following does not return a value? mysql_close(), mysql_init, mysql_real_connect
Q.3.
Which of these returns a string containing an error message?
Q.4.
Which of the following returns a MySQL-specific numeric code?
Q.5.
Which of the following returns an SQLSTATE code?
Q.6.
The argument to the function mysql_error() is _______________
Q.7.
What does mysql_real_connect() return if it fails?
Q.8.
The function load_defaults() reads the option files.
Q.9.
The –protocol value ‘TCP’ runs on which operating systems?
Q.10.
All API calls return a value.