doutuzhuohao6449 2015-11-11 11:45
浏览 70
已采纳

Ionic + Ubuntu:连接到mysql / phpmyadmin

I am developping an app using Ionic in Ubuntu. And installed phpmyadmin and it is running correctly (http://localhost/phpmyadmin).

How should I set up Ionic to connect to phpmyadmin and run my queries?

  • 写回答

1条回答 默认 最新

  • drsxzut183207938 2015-11-11 12:33
    关注

    PHPMyAdmin is a tool to work with MySQL databases. You don't want to connect it with Ionic.

    What you want is to run queries on MySQL. The problem is that the app made with Ionic will not be in the same network as the MySQL server this might make it unsafe.

    What you need is to write a WEB application that your Ionic app will use to do actions which will then execute SQL queries to the database.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?