🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

upload greek in mysql database

User: "icsd11159"
New Altair Community Member
Updated by Jocelyn

Hello,

I have a connection with MySQL database and i pass values in a table but i have greek words and in database tha results are like: ??????dbn.PNG

Find more posts tagged with

Sort by:
1 - 9 of 91
    User: "sgenzer"
    Altair Employee

    hello @icsd11159 - is that a RapidMiner screenshot? I do not recognize those icons.


    Scott

     

     

    User: "icsd11159"
    New Altair Community Member
    OP

    This is a screenshot from my database , that writes greek perfect from hltm/php but when i use 'write database' operation they turn into ?????.I use 'execute SQL' with 'SET CHARACTER SET UTF8' but nothing is change .Do you have any idea to fix this ?

    User: "JEdward"
    New Altair Community Member

    Is your RapidMiner display set to Unicode? 

     

     

     

     

     

    User: "icsd11159"
    New Altair Community Member
    OP

    My results are in greek , if that's what you asking

    exampleset.PNG

    User: "sgenzer"
    Altair Employee

    ah ok that makes more sense. Most likely that's an encoding issue. Can you check and see if your system RapidMiner encoding is the same as your database? I can see if your system is ISO-8859-1 and your database is UTF-8, you would have a problem.


    Scott

     

    Screen Shot 2018-04-10 at 9.35.50 AM.png

    User: "JEdward"
    New Altair Community Member

    Thanks, was just checking by eliminating the first possibility. 

    The issue might actually the first one I suspected, the JDBC driver could need an additional connection parameter set as advanced parameters. 

     

    Set useUnicode to yes & characterEncoding to UTF-8

    This should resolve it.

    <SPAN class="pln">jdbc</SPAN><SPAN class="pun">:</SPAN><SPAN class="pln">mysql</SPAN><SPAN class="pun">://</SPAN><SPAN class="pln">localhost</SPAN><SPAN class="pun">:</SPAN><SPAN class="lit">3306</SPAN><SPAN class="pun">/</SPAN><SPAN class="pln">db_name</SPAN><SPAN class="pun">?</SPAN><SPAN class="pln">useUnicode</SPAN><SPAN class="pun">=</SPAN><SPAN class="pln">yes</SPAN><SPAN class="pun">&</SPAN><SPAN class="pln">characterEncoding</SPAN><SPAN class="pun">=</SPAN><SPAN class="pln">UTF-8</SPAN>

     

    See here: https://stackoverflow.com/questions/5090303/how-do-i-get-greek-characters-in-my-database-using-jsp

     

     

    User: "sgenzer"
    Altair Employee

    oh nice catch, @JEdward.

     

    Scott

     

    User: "icsd11159"
    New Altair Community Member
    OP

    Thank you for your reply!

    I agree with you and i think that this must be the solution . But when i change the url path it gives me error dtbe.PNG

    My ManageDatabaseDrivers is like :

    mdd.PNG

    User: "icsd11159"
    New Altair Community Member
    OP
    Accepted Answer

    Thank you all for your help , i just solve my problem by setting the appropriate connection properties in RapidMiner Studio : via Connections > Manage Database Connections > Advanced and check the 

    <SPAN class="str">characterEncoding</SPAN>

    and write utf8 in the blank next to it .

     Also must check and  

    <SPAN class="str">useEncoding</SPAN>