doutuzhuohao6449
doutuzhuohao6449
2015-11-11 11:45

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 6年前

    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.

    点赞 评论 复制链接分享