Jump to content

Mysql database


Guest sarvesh
 Share

Recommended Posts

Guest sarvesh

I am not able to connect to Mysql database although it is installed.I wants to use mysql database with Perl language.What should I do?????

Plz suggest me an alternative database which I can use in Mandriva 2009

Edited by sarvesh
Link to comment
Share on other sites

Please check that the mysqld service is started, you can do this with a command from the console:

 

su (enter root password when prompted)
service mysqld status

 

if it's not running, do:

 

service mysqld start

 

Check if it's enabled to start at reboot:

 

chkconfig --list mysqld | grep :on

 

if no service is reported (eg: results from the command are blank), do:

 

chkconfig mysqld on

 

and when you reboot, mysqld will start.

 

PS - welcome to the forum! :beer:

Link to comment
Share on other sites

follow ian's instructions first, as chances are you can't connect because it's either not started or not properly configured. also, if you are trying to connect remotely, make sure your firewall isn't blocking the necessary port (3306). if you're trying to connect locally, use "localhost" as the server name.

 

as for alternatives, there are many: postresql, sqlite, etc. - search the software installer for "sql" and you should see a few options.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...