mysqlconnection

DevArt MySQL components connecting to MySQL with Shared Memory protocol

Has anybody had success with connecting to MySQL using the Shared Memory protocol via the DevArt components? (in .NET) If so, how did you do it, what is the connection string? And what other gotcha's are there? Note I have the sever started fine with... mysqld --skip-networking --shared_memory=1 --shared-memory-base-name='MyName' an...

MySQL error 2005 (using MySql C++ Connector):

I am trying to connect to a database using MySQL C++ Connector. I have used this code segment many times: driver = get_driver_instance(); connection = driver->connect("tcp://127.0.0.1:3306", "user", "pass"); and it has worked successfully, but now I am getting this error thrown from this code segment: "Unknown MySQL server host 'ÇD$Œ...

Not able to connect to mysql - using kloxo cpanel and cent os5

Hi There , I have just got ve unmanaged server with dedicated IP from mediatemple, now I managed with kloxo's cpanel to deal with, installed php and mysql. I created new database, imported tables in php myadmin, Now I am trying to create connection with the database but unable to make any. I am trying to access it through user created ...

MySQL JDBC driver & FLOAT(N, M) column type

Hi to all. I've recently got a bug that's somewhat weird for me. Let's consider that we have a table with a column of FLOAT(8, 3). Let's also consider we have a validated table editor accessible via web browser. The table editor supports the client-side validation for every column, and does not allow to put floats that are not in the ra...

How to Notice Close of MySql Server in Qt

When I closed MySql server, how can I understand that mysql server is gone away from my Qt program? Edit: Here my trial: When I close MySql, I get these results, and I can't catch that MySql is closed. My Code Snippet is QSqlQuery query(db); query.exec("SELECT * From RequestIds"); qDebug()<<query.lastError(); qDebug()<<db.lastError(...

How to hook up mysql to my website?

I am runing linux mint. I have a mysql db called Test. Do i need apache or something to hook it up to my db? When i try to do my php myqlconnect i get this: Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) Any ideas? thanks! ...