[Mono-list] Mysql verry slow on Fedora

Martijn martijn at mive.nl
Thu Mar 25 18:16:01 EDT 2010


Currently I have a huge issue with Mysql on a basic Fedora 12 installation
(no update strait from dvd). Only a console. 

Mono JIT compiler version 2.4.3.1 (tarball Thu Jan 14 10:27:43 UTC 2010)
Mysql Server version: 5.1.44 Source distribution

When I what to connect with the mysql database using the 6.2.2
Mysql.Data.dll using the socket (/var/lib/mysql/myqsl.sock) I get the error:

Unable to connect to any of the specified MySQL hosts.   at
MySql.Data.MySqlClient.NativeDriver.Open () [0x00000] 
  at MySql.Data.MySqlClient.Driver.Open () [0x00000] 
  at MySql.Data.MySqlClient.Driver.Create
(MySql.Data.MySqlClient.MySqlConnectionStringBuilder settings) [0x00000] 
  at MySql.Data.MySqlClient.MySqlConnection.Open () [0x00000] 
Could not load file or assembly 'Mono.Posix' or one of its dependencies. The
system cannot find the file specified.

If I connect with localhost it is very slow:
Query time(0 logitem(s)): 0.805234 seconds

When I connect to that shame version using the same application from a
window machine over a network the result are:
Query time(0 logitem(s)): 0.23646 seconds

Please can somebody help we with this problem?




-- 
View this message in context: http://n4.nabble.com/Mysql-verry-slow-on-Fedora-tp1691391p1691391.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list