QDB: Quote #205784
About / Latest / Random / Queue / Prefs / Donate / Submit Quote / Search

This quote has been fermenting for 17 years and has been voted on 44 times.
Based on preliminary voting, this quote has a 57.3% chance of being approved.

#205784* (?/44) ⚐Flag
Dave: any idea why i might get "Access denied for user 'root'@'192.168.0.2' to database 'm_v2'" when trying to switch to that DB?
Giorgio: Are you supplying the password?
Dave: yeah
Dave: all i change is DB_NAME
Dave: it connects fine, but the select_database fails
Giorgio: Hmm
Giorgio: Show the codes?
Dave: mysql_connect(DB_ADDR.":3306", DB_USER, DB_PASS);
Dave: echo (mysql_select_db(DB_NAME)) ? "yes!" : "no :(";
Dave: echos no
Giorgio: You mean "no :("
Dave: yeah :)
Giorgio: Yeah :(
About / Latest / Random / Queue / Prefs / Donate / Submit Quote / Search
14,883 quotes approved; 8,692 fermenting; karma: 189.4805