O sql.safe_mode znalazłem tyle:
"If sql.safe_mode is enabled, mysql_connect() and mysql_pconnect() ignore any arguments passed to them. Instead, PHP attempts to connect using the following details:
-host: local host
- user: the user PHP runs as
-password: an empty string ("")
"
Po włączeniu sql.safe_mode moje skrypty przestały działać. Czy mam rozumieć, że w takim trybie php podstawia nazwę hosta, usera który jest właścicielem pliku i puste hasło do funkcji mysql_connect?