使用godaddy连接数据库 [英] connecting a database using godaddy

查看:246
本文介绍了使用godaddy连接数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直想使用godaddy连接到我的数据库我一直收到错误#1064你的SQL语法有错误检查对应你的MYSQL服务器版本的手册,以便在
附近使用正确的语法
[PHP]<?php

//连接到数据库

$ hostname =''h41mysql47''。secure.net''; [/ PHP ]

如何解决这个问题?

I have been tring to connect to my database using godaddy i keep getting an error#1064 you have an error in your SQL syntax check the manual that corresponds to your MYSQL server version for the right syntax to use near
[PHP]<?php
// connect to database
$hostname = ''h41mysql47''.secure.net'';[/PHP]
How can I fix this?

推荐答案

hostname =''h41mysql47''hote.net''; [/ PHP]

如何解决此问题?
hostname = ''h41mysql47''.secure.net'';[/PHP]
How can I fix this?


您好。


我们需要更多信息才能帮助您所有。


首先,我们需要查看用于连接数据库的代码。
Hi.

We need more info to be able to help you at all.

To start with, we need to see the code you are using to connect to your database.


抱歉这里是代码

[PHP]<?php

//连接到数据库
sorry here is the code
[PHP]<?php
//connect to database


这篇关于使用godaddy连接数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆