Subquery in FROM returning error, MySQL
Hi,
I am trying to order by date first (descending), then group by and order by last name. Tried just order by and group by, but didn't work. I'm now trying to get there through a subquery, the subquery works as a query on it's own, but I'm running into syntax errors when I make it a subquery. Here's my code:
SELECT * FROM (SELECT clientrogue_info.id_clientrogue AS idrogue, clientrogue_info.roguefirst AS first, clientrogue_info.roguelast AS last, provider_cvpv.idprovidercvpv AS cvpvid, provider_cvpv.providerid AS providerid FROM clientrogue_info LEFT JOIN provider_cvpv on provider_cvpv.cpid = clientrogue_info.id_clientrogue
ORDER BY visitdate DESC) AS t1 GROUP BY t1.last ORDER BY t1.last
Thanks in advance for help.
That's not really a subquery, it's a derived table. In most DBMS's, the main select list must reference the derived table's alias.There may be other problems but that's the first thing to jump out at me.
Try:
SELECT t1.* FROM (SELECT clientrogue_info.id_clientrogue AS idrogue, clientrogue_info.roguefirst AS first, clientrogue_info.roguelast AS last, provider_cvpv.idprovidercvpv AS cvpvid, provider_cvpv.providerid AS providerid FROM clientrogue_info LEFT JOIN provider_cvpv on provider_cvpv.cpid = clientrogue_info.id_clientrogue
ORDER BY visitdate DESC) AS t1 GROUP BY t1.last ORDER BY t1.last
Similar Messages
-
DB Link Error from Oracle to Mysql
Hi ,
I have created the dblink from oralce to mysql using note id 1320645.1
I am getting the below error while connecting to the mysql using the dblink
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[unixODBC][MySQL][ODBC 5.1 Driver]Access denied for user 'user'@'xxxx.xxxx.xxxx'
(using password: YES) {HY000,NativeErr = 1045}
ORA-02063: preceding 2 lines from MYODBC5
Please help me to slove the error
Thanks in Advance
SudheerSudheer,
the error message is self explaining - your user 'user' connecting from the host @'xxxx.xxxx.xxxx' is not allowed to log into the MySQL database. To solve this issue you need to grant permissions to the user so that he can connect from any host (%) or just from that particular host where you installed the gateway.
The command to allow access from everywhere would be:
grant all on *.* TO '<user>'@'%' IDENTIFIED BY '<password>';
or just specify the IP address instead of '%' if you want to restrict it.
More details can be found in the MySQL manual:
MySQL :: MySQL 5.1 Reference Manual :: 6.2.7 Causes of Access-Denied Errors
- Klaus -
Returning Errors from a webservice using XMLBeans
I have a webservice that accepts XML as input and output parameters, and I'm using XMLBeans to handle this. I'm trying to work out how I can return error information from the webservice, so I created an Exception.xsd schema and 'include' it in the output XML Schema, so an exception xml element is valid in the output schema. The problem is, the XMLBean class generated from the output XML schema has no methods that allow me to create an Exception element. Is there some other way of handling the return of exceptions from webservices using XML?
The answer is just throw a SoapFaultException and put the exception.xsd XMLBean in the FaultDetail section of the SoapFaultException.
-
Returns sale order stock from returns to quality error
Dear All,
For FG Material we have activated Inspection Type '06' - Returns from Customer Inspection and Inspection Plan with Usage 'Goods Issue 06' also created.
We create return sale order material comes in returns and we need Inspection lot with '06'. so in MB1B using mvt type 457 trying to move stocks from returns to quality but system is not allowing to transfer stock it gives error Change Inspection stock in QM only.
kindly give your suggestion for this error.
Regards,
sakthivelFor FG Material we have activated Inspection Type '06' - Returns from Customer Inspection and Inspection Plan with Usage 'Goods Issue 06' also created.
SAP has returns set up to create 06 inspection lots. These are not stock relevant. In this case the inventory goes into the return stock category and another move must be done to move the material to unrestricted or blocked as needed it will not allow to move to QI
If the material should go into QI stock and be under QI control, then config must be changed to use the 05 inspection type instead of 06.
We create return sale order material comes in returns and we need Inspection lot with '06'. so in MB1B using mvt type 457 trying to move stocks from returns to quality but system is not allowing to transfer stock it gives error Change Inspection stock in QM only.
In SPRO SD schedule line category for returns(DN) change movement type to 655 and make relevant settings for QM movement types.
Check below relevant thread for more information
sales return
Cheers
KK -
Pacman : returning error 16 from alpm_db_update
Recently, yaourt behave oddly on my homeserver, outputting some truncated errors messages as if they were answers from a regex search. Long story short, I tried to fix the problem but did not yet succeeded, so maybe someone here will help me.
What I tried :
Use pacman instead of yaourt -> gave me a full error message "opening /var/lib/pacman/sync/core/dhcpcd-5.1.3-1/depends failed : No file or directory" . I am not sure the problem is package-related since I uninstalled and reinstalled it.
Moreover when I tried pacman with -Scc and -Syy I had an error message about the core database. Then, with -Syu and --debug option, I had this:
:: Synchronizing packages data...
debug: failed to get lastupdate time for core
debug: using 'core.db.tar.gz' for download progress
debug: HTTP_PROXY: (null)
debug: http_proxy: (null)
debug: FTP_PROXY: (null)
debug: ftp_proxy: (null)
debug: connected to distrib-coffee.ipsl.jussieu.fr successfully
downloading de core.db.tar.gz...
Error: deleting core database failed
debug: returning error 16 from alpm_db_update : removing entry from database failed
Error: updating core failed (removing entry from database failed)
Any idea ? Thanx in advanceHave you already tried a different mirror?
-
Returning Error Status back from Form to external program
Question,
I am trying to run a form essentially from the command line. I need to programatically catch any error codes that might have occured in the form by an external program. I can find nothing about returning errors back from the form or how to display it.
Any assistance is appreciated.
Andy Hendrickson
nullHello Andreas,
Ah, sorry, there was so much talk about user decisions that I assumed you were using a standard decision task.
Still, I would be extra careful of changing the way workflow usually works because you have an unknown target audience that are based on the standard.
The standard SAP philosophy is quite simple: cancel/F3 or do nothing and it stays reserved. If you do not want it reserved, you need to perform an action. This is based on a majority of processes: in most cases when you execute a work item you will also be the one who is going to completed it. Replacing it is the lesser used of the two alternatives, therefore it is the only one that requires an action on the part of the user.
Again, this is intended as constructive input. Strange quirks and unusual behaviour tend to add a black mark to software if they do not make things easier to use. In many environments users are not even aware of the reserve/replace business, so there you would be adding an additional layer of complexity.
Personally I would find an exit popup annoying as a regular workflow user - regular decisions can be approved with one click, or I can back out with a single click if I need to make a phone call or look up some info before approving - but with this new-fangled thing I've got an extra button to click and an extra thing to think about. This is especially the case in a payment approval scenario where you may have users in some departments who may approve hundreds of payments each week.
My suggestion would be to leave it like that. By all means put an option into the user decision to put it back or to 'un-reserve' it (and loop round if the user chooses it). That way you are adding value and not clicks.
Cheers,
Mike -
Returning error to Javascript from Webkit plugin
Hi all,
I want to return an error and possibly error string using exception or any other means from a web kit plug-in to Java script. In the success case these functions returns NSString, NSNumber,... etc. Can some one pls. provide a sample code to return error code and/or error string, so that Java script can detect the error condition.
Thanks
AkhileshFound it,
[WebScriptObject throwException: @"There is an error"]; -
Need help in returning error condition from web service
Hi,
I need one help regarding webservice. Currently my web service is returning "true" value when it works fine without any issues but it returns "false" when any any error is encountered. So my question is, can we return error instead of string "false". I dont know how to return exact error from webservice. If you any idea then please mail me.
Below is a small code snippet:
System.out.println("User "+ userFullName + usrKey + " end date has been updated to "+usrEndDate +" in IDM DB");
result = true;
catch (tcAPIException e) {
log.error("Error in finding the user" + e.getMessage());
result = false;
} catch (tcUserNotFoundException e) {
log.error("Error in getting user status" + e.getMessage());
result = false;
} catch (tcStaleDataUpdateException e) {
log.error("Error in updating end date of user" + e.getMessage());
result = false;
}catch (Exception e1) {
e1.printStackTrace();
result =false;
return result;
Here i want to return error instead of false. Can we do that?
Thanks,
Kalpana.instead of storing false store below
use result=e1.getMessage();
Edited by: Nishith Nayan on Feb 23, 2012 8:07 PM -
Transporting OSS Notes from Dev to QA returns error
Hi,
I have implemented all these notes in Dev:
1448397
1453128
1462423
1465685
1472991
1478699
1486208
1490183
1495277
1512748
1540869
1550964
1558355
1564254
1568563
1575454
I don't get any error during implementation in Dev.
When transport to QA, it returns error like:
Authorization check CP_USER_INCL:
Navigation path 48469D158E5D0117E10000000A421694 does not exist
Authorization check O_INCL_1:
Navigation path 488D143E21166CB2E10000000A421693 does not exist
Authorization check S_ALL_1:
Errors occurred during post-handling ESH_OM_TRANSPORT_IMPORT for SEST L
ESH_OM_TRANSPORT_IMPORT belongs to package S_ESH_ENG_OBJ_MOD_REP
The errors affect the following components:
BC-EIM-ESH (NetWeaver Enterprise Search)
After the transport failed, I couldn't access ESH_COCKPIT anymore.
It will return a dump saying:
System with connection GUID xxx has no connection data.
I tried to delete search connector via SE38 ESH_ADM_INDEX_ALL_SC also return the same error.
Anyone experienced this before?
I have already raised an OSS message to SAP waiting for their reply.
Thanks
JackQuote from the OSS message:
1457940 Transporting software components: Error in after-import
1476894 Transporting software components: Paths are lost
The reason for the error messages was a problem with the sequence
of the handling of the involved entities like templates, authorization
checks etc.
I see no harm in implementing the following additionally
1465481 Transporting software components: Dump in after import
1441080 Termination when importing Enterprise Search models
Regards
Jack -
Deleting Line from Return Document (error occurs)
Does SBO Allows to delete a line from return document using the SDK
I tried to delete a line but an error occurs
Sincerely yours
Riade AslehHi Riade,
Are you talking about removing a line of a return once the document has been added to SBO? If so, you cannot remove a line either by using the UI or the DI API. This is by design.
If you are not talking about removing a line after adding the document, please could you post details of the error you get and the code you are using?
Kind Regards,
Owen -
Error MySQL #2002 connection could not be made etc from phpMyAdmin
Error MySQL #2002 connection could not be made etc from phpMyAdmin
I am just seting up Adobe Flash Builder 4.5 for PHP, Zend Server, MySQL and phpMyAdmin.
On attempting The Tutorial Build your first Mobile PHP project I am getting this error.
Can anybody help please ?Just thought I would add that I did every test the help files suggest, no firewall etc.
Strange thing is that after the majority downloaded I had about 55 apps left that could not be updated because of the network connection that could not be made, I downloaded them manually instead of clicking 'yes please do download them all'.
I still came across a few that gave me the msg that an connection could not be made but when I skipped them and came back later to try again it did download. Took some time but I now have them all up to date.
Now see if I can sync the iPhone and iPad.
I run the latest iTunes 10.4.1 (10) and 10.6.8, have not updated to Lion yet.
cheers,
Christine -
How to return error from subscription function of an event
I am creating a subscription function for an oracle shipped event, oracle.apps.eng.cm.changeObject.submit. The event fires fine, i can do my custom validations in this function. In case the validations fail, I need to return an error message.
As per the guides and metalink documents, the way to do this is by returning 'ERROR' . But even though I return an ERROR, it does not error out. Whether I return SUCCESS or ERROR , the behaviour is the same.
While creating the subscription function, for On Error , I selected, "Stop And Rollback ".
Is it possible to return errors from the subscription functions.
thanks
SatyaYou shouldn't be passing ResultSet objects across the EJB layer.
Instead you should be passing data back and forth.
All of the data access code should be in one place in one class.
That class should open the connection, run the query, process/store the results of the query and then close the connection.
In this case you probably want to return a list of something to your jsp.
So your EJB call should be more like
public List<resultBean> check(String id){
ResultSet rs = Statement.("select * from table1 where id=123");
List resultList = new ArrayList();
while (rs.next()){
Bean myBean = new Bean();
myBean.setProperty1(rs.getString("field1"));
myBean.setProperty2(rs.getString("field2"));
resultList.add(myBean);
return resultList;
} -
Error changing db from sqlserver to mysql
Hi all,
I tried to switch my project from sqlserver to mysql.
I copied table structures and all the data from one db to the other.
I changed persistence xml to fill the new parameters of the db.
In my mind these should be the changes needed, and everything should work in the same way and in fact the majority part of my project works fine.
My problem is that when I execute a specific page list I got the following error :
javax.servlet.ServletException: /elaborazioni/wkfoperd/tiles/ListBody.jsp(58,8) '#{wkfoperd.wkfoperdItems}' Error reading 'wkfoperdItems' on type operazioniSospette.jsf.WkfoperdController
javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:390)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517)
util.SecurityFilter.doFilter(SecurityFilter.java:52)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
while the stack trace of the log reports the following :
Caused by: org.apache.jasper.el.JspELException: /elaborazioni/wkfoperd/tiles/ListBody.jsp(58,8) '#{wkfoperd.wkfoperdItems}' Error reading 'wkfoperdItems' on type operazioniSospette.jsf.WkfoperdController
at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:107)
at javax.faces.component.UIData.getValue(UIData.java:582)
at javax.faces.component.UIData.getDataModel(UIData.java:1063)
at javax.faces.component.UIData.setRowIndex(UIData.java:417)
at com.sun.faces.renderkit.html_basic.TableRenderer.encodeBegin(TableRenderer.java:85)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788)
at javax.faces.component.UIData.encodeBegin(UIData.java:879)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:269)
at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:117)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:271)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:276)
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:242)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:245)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:176)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
... 24 more
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:687)
at org.hibernate.type.CharacterType.get(CharacterType.java:29)
at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:163)
at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:154)
at org.hibernate.type.AbstractType.hydrate(AbstractType.java:81)
at org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2096)
at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1380)
at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1308)
at org.hibernate.loader.Loader.getRow(Loader.java:1206)
at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:580)
at org.hibernate.loader.Loader.doQuery(Loader.java:701)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
at org.hibernate.loader.Loader.doList(Loader.java:2220)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
at org.hibernate.loader.Loader.list(Loader.java:2099)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:65)
I tried to find differences between the table structures and to debug with no luck.
My feeling is that for some reason the persistence layer (Hibernate) doesn't map in the right way a db field.
Any hnt would be appreciated.
FlavioI found at last.
My problem is due to a single character table field ; in both databases the field is void and, I don't know why, from sqlserver Hibernate maps it correctly while from mysql it causes the exception menthioned.
I solved the problem simply initializing the table field.
Anyway I'm surprised that Hibernate could not manage correctly this case.
I hope this could be useful for somebody.
Flavio -
Upgrade from 10/7/5 returns error 13
I have a 24inch 2007 intel imac.
It's on 10.7.5 and won't upgrade to anything else.
the apps store just returns error (13) and suggest I try again later.
It's also doing lots of strange things since the last upgrade, such as always opening photobooth on start up. Apple support worked on the photobooth issue for hours and couldnt fix it.
I was hoping an upgrade to 10.9 might fix a few things, but I dont seem to be able to. Upgrades to imovie and iphoto also return the same error fromteh apps store.Your iMac is too old for Mavericks 10.9.
OS 10.6.8 (Snow Leopard) is a good and stable OS, and it shouldn't be a stretch for your machine. I would suggest you try that is you are not happy with 10.7 (Lion) -
Database link from Oracle to MySQL
I tried and googled an tried again...but I can't get this to work. So if you can spare a moment, please help me out (or try to ;-) ).
Environment:
The Oracle Developer Days Virtual Box image, so that's 11gR2 EE on OEL. MySQL 5.1.51-community + mysql-connector-odbc-5.1.7-0.i386.rpm
1. Created a database called test in MySQL, with a user "oracle" and a password "123".
2. Created the file /home/oracle/.odbc.ini with as contents:
[ODBC Data Sources]
myodbc5 = MySQL ODBC 5.1.7 Driver DSN
[myodbc5]
DRIVER = /usr/lib/libmyodbc5.so
DESCRIPTION = MySQL ODBC 5.1.7 Driver DSN
SERVER = 127.0.0.1
PORT = 3306
USER = oracle
PASSWORD = 123
DATABASE = test
CHARSET = latin13. Created the file /home/oracle/app/oracle/product/11.2.0/dbhome_1/hs/admin/initmyodbc5.ora
# HS init parameters
HS_FDS_CONNECT_INFO=myodbc5
HS_FDS_TRACE_LEVEL=DEBUG
HS_FDS_SHAREABLE_NAME=/usr/lib/libmyodbc5.so
HS_LANGUAGE=AMERICAN.AMERICA.WE8ISO8859P15
HS_FDS_SUPPORT_STATISTICS=FALSE
# HS_NLS_NCHAR=AL32UTF8
# ODBC specific environment variables
set ODBCINI=/home/oracle/.odbc.ini
set ODBCINSTINI=/home/oracle/.odbc.ini
set LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/hs/lib:/usr/lib
# Environment variables required for the non-Oracle system
set HOME=/home/oracle4. Added to tnsnames.ora :
dg4odbc =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA = (SID=myodbc5))
(HS=OK)
)5. Added to listener.ora (and restarted it) :
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /home/oracle/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = myodbc5)
(PROGRAM = dg4odbc)
(ENVS ="LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/hs/lib:/usr/lib:/lib")
)6. Ran some tests:
a. isql dg4odbc -> Connected!
b. tnsping dg4odbc -> OK
c. lsnrctl status -> Service "myodbc5" has 1 instance(s). Instance "myodbc5", status UNKNOWN, has 1 handler(s) for this service...
d. in SQLPLUS (as system): create public database link mysql connect to "oracle" identified by "123" using 'dg4odbc';
e. select * from test@mysql ("test" is a simple table I created in the MySQL DB) returns
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
ORA-02063: preceding line from MYSQL
When I look in the trace file (in $ORACLE_HOME/hs/log) I see at the bottom of the file:
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib/libmyodbc5.so"
Entered hgolofns at 2010/11/02-14:10:54
hoaerr:28500
Exiting hgolofns at 2010/11/02-14:10:54
Failed to load ODBC library symbol: /usr/lib/libmyodbc5.so(SQLAllocHandle)
Exiting hgolofn, rc=28500 at 2010/11/02-14:10:54
Exiting hgoinit, rc=28500 with error ptr FILE:hgoinit.c LINE:337 FUNCTION:hgoinit() ID:Loading ODBC aray of function ptrs
Entered hgoexit
HS Gateway: NULL connection context at exit
Exiting hgoexit, rc=0 with error ptr FILE:hgoexit.c LINE:108 FUNCTION:hgoexit() ID:Connection contextAfter Googling around I found out that all files are 32-bit (was on issue somewhere else)...and now I am stuck!
Any ideas, tips etc on how to proceed???
TIA
RoelThe ODBC Trace contains:
[ODBC][3331][1288788738.867244][__handles.c][459]
Exit:[SQL_SUCCESS]
Environment = 0x92b0d08
[ODBC][3331][1288788738.869179][SQLSetEnvAttr.c][189]
Entry:
Environment = 0x92b0d08
Attribute = SQL_ATTR_ODBC_VERSION
Value = 0x3
StrLen = -6
[ODBC][3331][1288788738.869204][SQLSetEnvAttr.c][356]
Exit:[SQL_SUCCESS]
[ODBC][3331][1288788738.879396][SQLAllocHandle.c][375]
Entry:
Handle Type = 2
Input Handle = 0x92b0d08
[ODBC][3331][1288788738.879422][SQLAllocHandle.c][493]
Exit:[SQL_SUCCESS]
Output Handle = 0x92c2940
[ODBC][3331][1288788738.879449][SQLSetConnectAttrW.c][332]
Entry:
Connection = 0x92c2940
Attribute = SQL_ATTR_AUTOCOMMIT
Value = (nil)
StrLen = -5
[ODBC][3331][1288788738.879467][SQLSetConnectAttrW.c][616]
Exit:[SQL_SUCCESS]
[ODBC][3331][1288788738.879694][SQLDriverConnectW.c][290]
Entry:
Connection = 0x92c2940
Window Hdl = (nil)
Str In = [DNdm;I=eoPDdm][length = 26]
Str Out = 0x92b1cf8
Str Out Max = 1024
Str Out Ptr = 0xbfe66270
Completion = 0
[ODBC][3331][1288788738.879718][SQLDriverConnectW.c][500]Error: IM002
[ODBC][3331][1288788738.879810][SQLGetDiagRecW.c][508]
Entry:
Connection = 0x92c2940
Rec Number = 1
SQLState = 0xbfe65f70
Native = 0xbfe65f90
Message Text = 0xbfe65d38her
Buffer Length = 510
Text Len Ptr = 0xbfe65fa8
[ODBC][3331][1288788738.879835][SQLGetDiagRecW.c][550]
Exit:[SQL_SUCCESS]
SQLState = IM002
Native = 0xbfe65f90 -> 0
Message Text = [[unixODBC][Driver Manager]Data source name not found, and no default driver specified]
[ODBC][3331][1288788738.879865][SQLGetDiagRecW.c][508]
Entry:
Connection = 0x92c2940
Rec Number = 2
SQLState = 0xbfe65f70
Native = 0xbfe65f90
Message Text = 0xbfe65d38
Buffer Length = 510
Text Len Ptr = 0xbfe65fa8
[ODBC][3331][1288788738.879882][SQLGetDiagRecW.c][550]
Exit:[SQL_NO_DATA]
[ODBC][3331][1288788738.879942][SQLDisconnect.c][208]
Entry:
Connection = 0x92c2940
[ODBC][3331][1288788738.879958][SQLDisconnect.c][237]Error: 08003
[ODBC][3331][1288788738.880005][SQLFreeHandle.c][286]
Entry:
Handle Type = 2
Input Handle = 0x92c2940
[ODBC][3331][1288788738.880023][SQLFreeHandle.c][337]
Exit:[SQL_SUCCESS]
[ODBC][3331][1288788738.903716][SQLFreeHandle.c][219]
Entry:
Handle Type = 1
Input Handle = 0x92b0d08So there is an error (IM002) in there, saying it can't find the Data Source Name..
Some addtional tests I ran:
dltest /usr/local/lib/libodbc.so returns SUCCESS: Loaded /usr/local/lib/libodbc.so
ldd /usr/local/lib/libodbc.so returns
linux-gate.so.1 => (0x00a44000)
libdl.so.2 => /lib/libdl.so.2 (0x00a22000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00110000)
libc.so.6 => /lib/libc.so.6 (0x005b1000)
/lib/ld-linux.so.2 (0x00736000)
So it can find and load the necessary libraries (afaik)..
So any ideas left??
Maybe you are looking for
-
Using iMac as external display from Macbook Pro flickers static and crackles.
I'm trying to use my iMac as an external display. When I plug in my early 2011 Macbook Pro into my Mid 2010 iMac via a Belkin Mini DisplayPort to Mini DisplayPort, the iMac screen flickers with static and there's random crackling noises. Weird thing
-
Ldap Sync: User is not able to create in Active Directory through OIM
Hi , I have enabled the ldap sync between OIM and Active Directory. Option 1: with password While creating the new user in OIM , I am getting the below error . 80eeb34d89d5ed80:18bc05bb:1403be9d7e6:-8000-000000000008f710,0] [APP: oim#11.1.2.0.0] Coul
-
Just installed 4.0.1 and now "offline" appears and I can't connect at all
When I click on Firefox, the dialog box says: Offline mode/ Firefox is currently in offline mode and can't browse the Web. Uncheck the "Work Offline" menu item, then try again. I am sending this on Safari, the only browser working on my computer now.
-
I cannot upgrade itunes in my MacBook air, why is that?
Can sombody tell me, why I can not upgrade itunes?
-
Fail to configure Apache web server 2.0.53 as plugin to weblogic server 8.1
Hello, I have installed web logic server 8.1 with sp2 on windows XP system. I have configured a domain with configuration wizard with these settings - server name "myServer" port No - 7001 Domain - mydomain I have installed apache web server 2.0.53 o