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?

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.

  • 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 '13 at 5:43
  • Move the databases to a separate system. – Ignacio Vazquez-Abrams Jul 6 '13 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 '13 at 5:54
  • 2
    You should not attempt to share the raw MySQL data files between systems. – Ignacio Vazquez-Abrams Jul 6 '13 at 5:55
  • Oh, I understand now... – rafi Jul 6 '13 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/

  • 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. – Eliah Kagan Jul 6 '13 at 19:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.