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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. GaryAshford

    Can't connect to local MySQL server through socket '/tmp/mysql.sock'

    PS) Needless to say, the error has nothing to do with /tmp/mysql.sock error message. Sockets can only be used to connect to a local MySQL server (as I understand it) and do not apply when connecting to a remote MySQL server. You should definitely not get this error when your DSN contains the...
  2. GaryAshford

    Can't connect to local MySQL server through socket '/tmp/mysql.sock'

    Hi again. Here I go answering my own question- but for anyone who is having the same problem, I now have some further information on this. Every site i've been to with regard to the "Can't connect to local MySQL Server" problem seems to imply that the user is doing something wrong, where...
  3. GaryAshford

    Describing AUTO_INCREMENT columns via ODBC?

    Hi. Does anyone know a way to obtain information about AUTO_INCREMENT columns in tables using the ODBC API? As far as I can see, the only way to obtain this information is when you have a result set pending- in which case you can use SQLColAttribute. Is it possible to query this without a result...
  4. GaryAshford

    Does version 8.1client connect to version 7.2 server?

    Thanks for this info, i'll see if there are any fix-packs I haven't installed yet. (funny how IBM don't mention this problem in their flashy TV adverts!)
  5. GaryAshford

    Does version 8.1client connect to version 7.2 server?

    Hi. I have found that DB2 runtime client version 8.1 (On Win2000) doesn't like connecting to server version 7.2 (also Windows2000). I haven't tried server versions 7.1 or 6 so this may have the same problem. When I try connecting from the CLP, I get; SQL0902C A system error (reason code =...
  6. GaryAshford

    Retrieving messages from the BACKUP SERVER?

    Hi. Does anyone know how the CS-LIB or CT-LIB API can be used to retrieve the information returned by the BACKUP SERVER when executing a "dump database" command?? If you execute this from isql, you get the full story, e.g: Backup Server session id is: 11. Use this value when...
  7. GaryAshford

    Can't connect to local MySQL server through socket '/tmp/mysql.sock'

    Hi. Lots of people have had a go at addressing the error you get when trying to connect to MySQL from a Linux machine, but none of the answers seem to apply when trying to connect to a REMOTE server via the MyODBC driver. Why should you get this message when the ODBC DSN in the .odbc.ini file...
  8. GaryAshford

    Is is possible to make MacOSX broadcast a hostname?

    Hi. Has anyone found that when querying the sysprocesses table, the hostname column only seems to be filled in for clients connecting from Windows and Unix? When connecting from Mac OS X, the hostname column is empty, presumeably because the Mac doesn't broadcast a hostname. Does anyone know if...
  9. GaryAshford

    libmysql.dll doesn't export Prepared Statement Functions!

    Hi- yes I sort of solved the problem. It seems that the .DEF file which accompanies the project file doesn't export the prepared statement functions. You just need to edit this file and add these to the list, then rebuild. I also built the MySQL client library on MacOSX, Linux and Solaris and...
  10. GaryAshford

    libmysql.dll doesn't export Prepared Statement Functions!

    Does anyone know what the story is with the dynamic mysql library (called libmysql.dll on Windows) the the C API functions which deal with Prepared Statements, e.g. mysql_prepare() & mysql_execute()... These were supposed to be available from version 4.1 onwards. The functions have prototype...
  11. GaryAshford

    Turning off Autocommit & "driver not capable" error

    Ah- good question. I am using an iMac running MacOS9.2.2 talking via Openlink's Generic ODBC driver and the iODBC Driver Manager to a Win2k DataDirect ODBC datasource at the other end which is talking to MySQL running on a Linux box! So I guess I am using Openlink's ODBC API. I seem to remember...
  12. GaryAshford

    Turning off Autocommit & "driver not capable" error

    Thanks, this is great. So I guess it would be true to say that whilst innoDB tables support transactions, the API call; SQLSetConnectOption( SQL_AUTOCOMMIT, on/off) is not supported by MySQL.
  13. GaryAshford

    Turning off Autocommit & "driver not capable" error

    Thanks for your reply. I'm not trying to use any tables just yet. I am trying to tell MySQL what I want the transaction mode to be once I have logged on, i.e. manual transaction mode. Can this be done at the connection level? Maybe I have to have one or more innoDB tables before this will work?
  14. GaryAshford

    Turning off Autocommit & "driver not capable" error

    Any programmers out there? :o) Assuming that transactions are supported in MySQL version 3.23.38, how is it that when my ODBC application does SQLSetConnectOption(..,SQL_AUTOCOMMIT,false) the call fails with error message; "Driver not capable" ? SQLGetInfo(..,SQL_TXN_CAPABLE,..)...
  15. GaryAshford

    NCLOB in a WHERE clause?

    Hi. Can't find anything specific about this in the Oracle Docs: Does anyone know if it is possible to bind a CLOB or an NCLOB column in the WHERE clause of a SELECT statement? e.g. SELECT * from table WHERE clobcol = :clobval (I am writing an application using the OCI so the mechanics of...
  16. GaryAshford

    Sybase Unicode Support

    Thanks very much for your reply. Our ct-lib application does use UTF16 characters internally and the database is enabled for UTF-8 so this side of things is working Ok. We will just have to convert to "monocode" for logons, sqltext, column names, etc. Gary
  17. GaryAshford

    Sybase Unicode Support

    Hi. I have been trying to establish the level of unicode support provided by ASE 12.5. As far as I can tell, there are two new character types; UNICHAR and UNIVARCHAR and that is it. Is it possible to configure a ct-lib application so that all of the "meta-data"; username, password...
  18. GaryAshford

    Is it possible to query the database version?

    Thanks very much- this is gold dust. -Gary
  19. GaryAshford

    "Transaction log almost (always) full"

    Wow! Thanks very much for this. Gary
  20. GaryAshford

    "Transaction log almost (always) full"

    Hi. I have just done a default install of Syabse ASE 12.5 on Windows 2000. I have got past the SYCONFIG problem and side-stepped the LC_ALL pitfall and have managed to setup a default database to do some testing! Yet as soon as I have run about 100 or so SQL statements from my client...

Part and Inventory Search

Back
Top