Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MySQL

 
nikos sokaf
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm trying to make my application more advanced so, i tried to use mySQL.
I installed mySql on my machine (clients and servers) and mySql Control center.
When i am trying to start mySQL admin , i get an error that says:
Cannot find the libmysql.dll.Reinstall ...
When i am trying to start the database on the Control Center i get the message:
Can't find mysql server on nikospc.

I look on google, mySql developer's site , but nothing was found.
What's the problem i have?Please help me!

Thanks for the help if any!
 
Sanjaya Sugiarto
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had this same problem some days ago.

I solved this problem by defining the path in my system evironment variables.

Supposed you use Windows than define in the System Variables: "Path" and add the exact path where you install your mySQL.
In my case: C:\mysql and C:\mysql\lib\debug.

Than it should work.
 
nikos sokaf
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Sanjaya,

I didn't understand you about the system variables?Can you explain me better?

Thank you for your time!
 
Sanjaya Sugiarto
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Nikos,

In order to define the path than (supposed you use Windows):

Start >> Settings >> Control Panel >> System >> Advanced >> Environment Variables >> than look on the second field (System Variables) >> Search for "Path" there would be C:\WINNT\System32.... >> Than just click Edit >> than insert the path of your mySQL installation, in my case: C:\mysql and C:\mysql\lib\debug. Between them schould be ";". So it would be:
C:\WINNT\System32;C:\mysql;C:\mysql\lib\debug;....... .
Than you are done
If needed, just restart your system.
 
nikos sokaf
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Sanjaya!

Thank you for your time!

I found the problem,it was unbelievable!
A dll missing or written in the wrong path.
I copied in *Bin* directory and , everything is OK!
Thank you for your time , again!

Farewell
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic