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
    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.

    点赞 评论