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.

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

报告相同问题?

悬赏问题

  • ¥15 asp.textbox后台赋值前端不能显示什么原因
  • ¥15 宇视监控服务器无法登录
  • ¥15 PADS Logic 原理图
  • ¥15 PADS Logic 图标
  • ¥15 电脑和power bi环境都是英文如何将日期层次结构转换成英文
  • ¥15 DruidDataSource一直closing
  • ¥20 气象站点数据求取中~
  • ¥15 如何获取APP内弹出的网址链接
  • ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了
  • ¥50 STM32单片机传感器读取错误