doulang6695 2013-10-10 14:33 采纳率: 100%
浏览 27
已采纳

在哪里可以找到google_sql sql数据库的用户名和密码?

So for google cloud sql apps I need to connect to the database using php using this:

mysql_connect
$conn = mysql_connect(":/cloudsql/hello-php:my-cloudsql-instance", "<username>", "<password>");

I made an sql database using the sql prompt in the google console. Where do I find my username and password to connect to the sql database?

  • 写回答

2条回答 默认 最新

  • dua27031 2013-10-10 22:50
    关注

    The default is user root with no password.

    You can add more users or change the password yourself using the normal MySQL Commands using the sql prompt in the console.

    You can also install phpMyAdmin on your app and use it to manage the database.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥20 用web解决,要给我一个完整的网页,符合上述的要求
  • ¥20 求个sql代码和结果的图 两道题
  • ¥15 银河麒麟操作系统无法使用U盘
  • ¥100 寻找:光电二极管电路设计服务
  • ¥15 YOLOv5改进后的结构图
  • ¥15 全志v3s怎么设置高速时钟,使用的荔枝派zero开发板,串口2需要921600的波特率
  • ¥15 关于#单片机#的问题:Lora通讯模块hc-14电路图求内部原理图
  • ¥50 esp32 wroom 32e 芯片解锁
  • ¥15 bywave配置文件写入失败
  • ¥20 基于Simulink的ZPW2000轨道电路仿真