How can i work with Mysql using socket

hi
When i connect through mysql using socket
then can i send a query to mysql through socket.
if yes then how
retrive data which is performed by query
plz help me
THANKS

not like its not possible, but you better refer to JDBC instead of plain socket... its much easier and its already been done...
google for mysql jdbc tutorial or something...

Similar Messages

  • How can I scan with mavericks using Epsom printer

    How can I scan with mavericks using Epsom printer

    Some users have had success using Image Capture in the Applications folder - although it doesn't seem to work for everybody. Worth a try.

  • How can I work with my adobe Lightroom Version 5 which was added to my Samsung NX3000. If I want to load an .SRW File it is not possible, only the .JPG File. How and from where can I the Module and how is it to install ?

    How can I work with my adobe Lightroom Version 5 which was added to my Samsung NX3000. If I want to load an .SRW File it is not possible, only the .JPG File. How and from where can I the Module and how is it to install ?

    You need Lightroom 5.5 or later (the most current version is 5.7.1). This is a free update if you have already purchased an earlier version of Lightroom 5.
    Product updates

  • How can I work with big iMovie 6 file?

    I am trying to make a one 70 minute movie with iMovie 6 but am having great difficulties because the file has reached 78 gig and is now unworkable because it is just too slow to even play. Even cutting it in half does not solve the problem. Each half will play but I can't work with them in the timeline. I need to add more audio files and music. Any suggestions?

    I suspect most slowdowns occur because of complex audio, not the size of the project. It sometimes helps to export the audio to an AIFF file, then re-import that file back into the project and place it in its own audio track. When you disable the audio of the other tracks, playback is improved.
    That makes it harder to edit a half-finished project, however. It's a technique best reserved for almost-finished projects.
    You could export the timeline to the camera, then re-import it to a new project. That will both make the project smaller and "flatten" its audio and video. Most clips will return as the clips they are now.
    70 minutes of video is ordinarily about 15GB, so something has increased the size substantially. (That's not normally a problem you have to worry about; the size of the project itself is probably not the problem.)
    Karl

  • How can I work with lightroom when I use two computers ?

    I am new to Lightroom and work with a laptop at home and a PC at work. Before I started to use LR3 I simply duplicated my pic files onto both machines, edited on whichever machine I wanted and then synchronised the folders. This system provided me with a working copy at either home or work and also a backup copy on the other machine.
    I would like to operate the same system with LR3 but am unable to figure it out due to the automatic filing system used by the programmme to seperate the raw files and the instructions for those files.
    Can anyone provide me with simple step by step instructions on how to transfer the files/instructions by using  a flash drive and "Copy and replace"system
    as I am totally confused by the grammar, syntax, and terminology used by Adobe.

    Hi Geoffbubbles,
    if you see only 1 photo you did export only 1 photo in the catalog.
    Make sure you select all (e.g. <ctrl> A or remove the tick from "export selected photos only" in the dialog box of export-as-catalog =>will pick the total folder).
    What Dorin mentions are catalogs as transportation vehicles between the two LR computer catalogs.
    Let's assume you start on your home-comp and transfer to the work-comp.
    When you EXPORT you give a name "home-to-work" for the transport catalog. You decide if you include the pictures by ticking "exclude negative files".
    You would do so only for the first time, when your work-comp would not yet have them.
    These are the original files which would never be touched, but which LR needs to have available to do develop work (i.e. to write develop instructions into its database). [Or maybe only you need them in order to have LR display the effects of what you are doing, if your slider settings achieve your desired result.]
    When you transfer your new settings from the work-comp to the home-comp which has the original files already you only need to transfer the DB-records for the files, i.e. the catalog parts. Then it is sufficient to export-as-catalog (name it "work-to-home") without the tick for the negative files. Which will obviously save a lot of data to transfer.
    As would leaving off the tick for "include available previews", but then your receiving computer would have to render the previews itself - your choice where you spend the effort.
    Depending on your ticks checked in export dialog the data on the transfer stick will show different folders:
    1 wrapping folder with the name you specified as transportation catalog name (in the example above "home-to-work")
    therein the catalog file *.lrcat (home-to-work.lrcat)
    if "include negative files" ticked: as many subfolders as the original folder structure/names of the pictures in it had on the sending machine
    if "include available previews" ticked: an *Previews.lrdata-folder ("home-to-work Previews.lrdata") with lots of subfolders labelled 0...F
    On the receiving computer, when you IMPORT FROM CATALOG, you only select the *.lrcat-file.
    In the dialog box you decide if you import the negative files (prereq you had included them) or if you just add them without moving (why not leave them on the stick i.o. actually copying over to the work-comp?). If there are no new photos, but just new settings, you can either overwrite your old settings (which is probably your intention) or tick "preserve old settings as virtual copies".
    When you use Dorins smart collection "Touched today" the virtual copies should not show up upon re-export on the way "work-to-home", provided you have further tweaked the master versions only. Or they do because in the end you liked them better and continued tweaking on them.
    Note if you do not include previews: you might need to tell LR on the receiving comp to rerender the previews if it contains the photos and earlier previews already - I am not sure, if LR starts off on its own to rerender them.

  • How can i work with getdate() in my query if i have a varchar datatype on where clause column ?

    Hi All,
    I have a column like lastdate with varchar datatype. now I want to work with lastdate column in where clause with getdate().
    Ex:  where
    getdate()  -  lastdate < 1
    when I use above one I got error like
    Error = Conversion failed when converting date and/or
    time from character string.
    I knew the datatypes for lastdate and getdate() are different...
    how can I use...
    Thanks,
    rup

    You need to convert the string date to datetime or date. See conversion examples here:
    http://www.sqlusa.com/bestpractices/datetimeconversion/
    Example for the where clause:
    WHERE DATEDIFF(DD, convert(datetime, lastdate, 101), getdate() ) < 1
    Can you post sample string dates?
    Are you looking for today's records? Another option (depends on lastdate format):
    WHERE lastdate = convert(char(8), getdate(), 112)
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • How can I work with WindowsAccessBridge.dll from VB6?

    Hi,
    I have one java application(e.g JAlbum). Whenever I start that application it promt to enter username and password.
    Now what I want to do is?
    I want to get that both text boxs values and set some values of that text boxes with my VB 6.0 code.
    I have found that with help of WindowsAccessBridge.dll we can do something which I want. But they didn't provide any example source code in VB 6.0.
    Can anybody help me that how can I get content of Java Application. How can I use WindowsAccessBridge.dll in my VB project. I can do it for windows application by using IAccesible. But I don't know that how can i do it for Java with WindowsAccessBridge.dll.
    Please provide me some proper steps to work with WindowsAccessBridge.dll in VB 6.0.
    Please help me as soon as possible. If possible please provide me some source code in vb 6 or links.
    Thanks in advance.

    Hi Peter,
    Thanks for your reply.
    I have developed it using VB 6.0. Please check the below code.
    '' General Declaration
    Option Explicit
    Private Declare Function isJavaWindow Lib "WindowsAccessBridge" (Hwnd As Long) As Boolean
    Private Declare Function FreeLibrary Lib "kernel32" (ByVal hLibModule As Long) As Long
    Private Declare Function LoadLibrary Lib "kernel32" Alias "LoadLibraryA" (ByVal lpLibFileName As String) As Long
    Private Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hwnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long
    Private Declare Function FindWindow _
                    Lib "user32.dll" _
                    Alias "FindWindowA" (ByVal lpClassName As String, _
                                         ByVal lpWindowName As String) As Long
    Private Sub Form_Load()
    Dim Var_g_HwndRec As Long
    Dim lb As Long
    Var_g_HwndRec = FindWindow(vbNullString, "CI for a proportion")
    lb = LoadLibrary("WindowsAccessBridge")
    MsgBox isJavaWindow(Var_g_HwndRec)
    End SubAt the time when I ran this program I got an runtime error "49', bad DLL calling convention.
    Can you please tell me that what could be the problem?

  • How can CEP work with IBM MQ?

    Hi,
    Our customer is using MQ. How can we make the JMS adapter work with it?
    Thanks,

    You need Lightroom 5.5 or later (the most current version is 5.7.1). This is a free update if you have already purchased an earlier version of Lightroom 5.
    Product updates

  • How can I work with Word users?

    Hi. Used to love love my old Apple. Then had to go to PC for work. Now I've got a new iMac and it is terrible. Main issue: I need to edit a person's word file, then send it back. How can I save it without it turning into Pages.

    Meantime, I exported my Pages file to Word and emailed it to client. Client received a Word file that was the ugly original file, with all my work not there. I went back to the Pages file, saved again then exported. Still the ugly original. So I changed the name of the Pages file and exported as Word. Text still the ugly original. I went to 'All my Files' and deleted the ugly original. Still Pages converted to Word and gave me the ugly one. What is going on?
    PS, I've looked at Office for iMac. What version would you recommend? Also, where does it tell me what sort of iMac I have - PPS or what? It's not on the paperwork. I bought it from Dick Smith about 6 weeks ago.

  • How can I work with report columns in computation or validation?

    Hi all,
    I have an updateable report. Bevor submitting canges, I want to do computation or validation on one of the report columns. But a report column is not an item. Is there a possibility to work with report colums?
    Thanks, Daniela

    Hi Daniela,
    Presumably, your tabular form has been created using the wizard?
    If so, you might like to slightly change your SQL statement to allow you to access the "display only" columns in the collection.
    When you have time, you should have a look at the HTMLDB_ITEM package api documentation as this explains how you can manually construct a tabular form. But for now, for the "display only" column, you need to do something like:
    select
    other fields,
    HTMLDB_ITEM.DISPLAY_AND_SAVE(n,fieldname) columnheading
    FROM table
    where "n" is a column number - this will become G_F0n in the collection. You should ensure that you use a number that is not being used by an editable field - if you're not sure, do a View Source on a rendered page, and look for name="f01", name="f02" etc - these are the column numbers, pick one that isn't used for your new column.
    The documentation says, for DISPLAY_AND_SAVE: "Use this function to display an item as text, but save its value to session state." so this sounds exactly what you need.
    Regards
    Andy

  • How can i mess with people using my wifi?

    my airport express is wpa2 and passworded. my neighbors are still using it and hacking it. yes im sure. a buddy said something about viewing the DHCP or something and you can see computers connected.
    i heard of one guy hacking with scripts. where he has one unsecure network and one secure and one of them automatically redirects their pages to kittenwar.
    soo how can i set that up step by step?
    or what can i do to mess with them or get them off?
    can i control or shut down their computer with the connection?
    i could understand them stealing it if it was not passworded. but it is so this means war haha

    The neighbors are pulling your leg unless you have given them the password for your network, or you are using a password that is easy to guess.
    It is a good idea to change your password as well from time to time. Choose a password that is a mix of random numbers and letters.
    i heard of one guy hacking with scripts. where he has one unsecure network and one secure and one of them automatically redirects their pages to kittenwar.
    soo how can i set that up step by step?
    Providing information like this is a violation of the terms of use agreement that we all signed for this support area.

  • I failed to register on photoshop in time. How can I work with the  photos I have there?

    I already have photos on my computer in Photoshop but I failed to register within the time limit, so now I cannot do anythiing with my photos. How can I get to use my photos that I already have on photoshop? I am just now  signing up for an account on Photoshop.

    Bryant,
    Your photos aren't stored in Photoshop. They are stored on the hard drive, they only open in Photoshop.
    Check your hard disk for the photos you're searching for.
    -ST

  • How can i work with variables of the BEx-Query in WAD  ???

    Hi Experts !
    In my Web Template i want to work with the value of a BEx-Variable like this :
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB4"><A href="javascript:if (V_TEST != '1') {goto_tab('TAB4')}">Summenblatt 3</A>
    </td>
    V_TEST is a variable in my BEx-Query.  Does someone know how i can get the value from this variable ???
    Thx Andreas

    to get the query variable value into javascript variable you can do like below
    <script>
    var period_val = '<object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TEXTELEMENTS_PERIOD"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="ELEMENT_TYPE_1" value="VARIABLE"/>
             <param name="ELEMENT_NAME_1" value="0P_FPER"/>
             <param name="ONLY_VALUES" value="X"/>
             ITEM:            TEXTELEMENTS_PERIOD
    </object>';
    </script>
    Raja

  • ¿How Can I work with webmatrix and dreamweaver? (extensions cshtml, vbhtml,etc...)

    Well as I said, I have some issues with this situation, I will like to work with webmatrix (SQL helpers, and cool stuff) improving it with the great adobe´s web design technologies, Dreamweaver CC 2014 of course as the main support, please bring me some sort of solution I am sure I am not the only one.

    Well I am actually working with both of them, it happens that Web matrix only build my webpage from server code, I mean, I don´t have much options for a web design, I am used to work with the template first in dreamweaver with HTML file extensions, then use it as a VBHTML extension, I would like to work from the VBHTML extension so I can test every single change that I make in webmatrix as I continue working with the degin in Dreamweaver

  • HT200091 how can i work with older  library photos  in version Aperture 3.2.4 ( now my aperture version is 3.4.3

    How do work with older version libraries. ? i could not relaunch the aperture with old (3.2.4) verion!

    You can't switch to the old library you have to open it directly.
    Find the old library in the Finder and double click it. Aperture will ask if you want to upgrade it. Once if is upgraded you can switch between it and the other library.

Maybe you are looking for