Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Client character set in MySQL 4.1.10

Status
Not open for further replies.

comlin

Programmer
Mar 10, 2005
1
CZ
I have a problem with character set client and connection in MySQL 4.1.10. I have all tables in cp1250_czech_cs collation and I have set a global session character_set_client, character_set_connection and character_set_result to cp1250. When I make a connection to the database in PHP (mysqli_connect();) and execute a query SHOW SESSION VARIABLES; it return that character_set_client, character_set_connection and character_set_client is set to latin1.
What can I do, when I want to set this variables to cp1250 as default? (and not use SET NAMES cp1250; in each script).
My OS is Win XP SP2 and Win 2000, Mysql version 4.1.10-nt, PHP version 5.0.3
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top