2

I'm using ubuntu 13.04 in a 32 bit machine. I have Windows 8 installed also. I have set up lampp in my ubuntu OS. Now I want to use mysql databases of Windows in ubuntus lampp. I have searched a lot online, but couldn't find any suitable solution. Can anyone help please?

3 Answers 3

0

Use mysqldump.exe to dump the database contents under Windows into a .sql file. You can then either load it in under Ubuntu by using the mysql tool, or you can load it into a separate system so that it is accessible under both Ubuntu and Windows.

8
  • Ss there any way to use same databases? Because I will be using both OS's (windows and ubuntu), so it will be tough to dump databases and import again and again.
    – rafi
    Jul 6, 2013 at 5:43
  • Move the databases to a separate system. Jul 6, 2013 at 5:48
  • Can you tell me how? I am using htdocs folder from windows in ubuntu, it is possible. Like that, is it possible to use same mysql databases to use both in ubuntu and windows?
    – rafi
    Jul 6, 2013 at 5:54
  • 2
    You should not attempt to share the raw MySQL data files between systems. Jul 6, 2013 at 5:55
  • Oh, I understand now...
    – rafi
    Jul 6, 2013 at 5:57
0

I don't know how by heart how to do it, but I know that you can configure MySQL to allow remote connections. By this, you can have your Windows machine run the MySQL server and connect from the virtual Ubuntu over network.

0

To create a php development environment in Ubuntu installed with MySQL and Apache, you may try this link : https://engineersview.wordpress.com/2013/06/03/php-development-in-ubuntu/

1
  • Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. Jul 6, 2013 at 19:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .