MYSQL显示未知数据库 [英] MYSQL shown unknown database

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

问题描述

我可以知道为什么我的网站无法显示MYSQL数据库吗? Sequel Pro编写的MYSQL witten
我使用appserv localserver托管它.
http://img688.imageshack.us/img688/5084/41182061.jpg

May i know why my site cant show the MYSQL database? the MYSQL witten by Sequel Pro
and i host it using appserv localserver.
http://img688.imageshack.us/img688/5084/41182061.jpg

推荐答案

可能是任何东西:

1)您尚未正确安装mySql,或者根本没有安装
2)您连接到错误的MySql实例
3)您的数据库来自更高版本的MySql
4)您的代码错误.

涵盖了大多数大公司.

我们不能说.并非没有很多很多信息!
It could be anything:

1) You haven''t installed mySql properly, or at all
2) You are connecting to the wrong MySql instance
3) Your database is from later version of MySql
4) Your code is wrong.

Covers most of the big ones.

We can''t say. Not without a lot, lot more information!


1.我想我已经正确安装了mysql
图像 [
1. i think i already install mysql properly
image[^]
2.My index
<html >
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title>AIMST Online Library System</title>
        <link href="/library/css/default.css" rel="stylesheet" type="text/css" />
    </head>


    <body>
        <div id="wrapper">
     <?php include


_SERVER [' DOCUMENT_ROOT'].' /library/includes/header.php';??> < div =" page" < div =" content" < div =" 欢迎" < h2 > 欢迎使用AIMST在线图书馆系统< /h2 > <!- 正文 < p > 欢迎使用AIMST在线图书馆系统. 在这里,您将找到完整的 在我们的图书馆预订. 如果您想借用任何东西,请联系我们的工作人员 图书. < /p > <!- 主体末端 < /div > <!- end div#welcome -> < /div > <!- end div#content -> < div =" 侧边栏" < ul > <? php include
_SERVER['DOCUMENT_ROOT'] .'/library/includes/header.php';??> <div id="page"> <div id="content"> <div id="welcome"> <h2>Welcome to AIMST Online Library System</h2> <!--body--> <p> Welcome to AIMST Online Library System. Here you will find the complete collection of book on our library. Please contact our staff if you want to borrow any books. </p> <!--body ends--> </div> <!-- end div#welcome --> </div> <!-- end div#content --> <div id="sidebar"> <ul> <?php include


这篇关于MYSQL显示未知数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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