debian 安装mysql或者php出问题
版本是4.0
先更新源
在/etc/apt/sources.list 中添加
deb http://http.us.debian.org/debian/ stable main
执行以下命令更新软件包列表:
apt-get update
更新源后,安装mysql就出错了,帮忙看下。。。
wzwen:~# apt-get install mysql-server-5.1
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mysql-server-5.1: Depends: mysql-client-5.1 (>= 5.1.41-1.dotdeb.1) but it is not going to be installed
Depends: libc6 (>= 2.7-1) but 2.3.6.ds1-13etch9+b1 is to be installed
Depends: libmysqlclient16 (>= 5.1.21-1) but it is not going to be installed
E: Broken packages
再比如,安装php也出错,好像是源包有问题。。。
相关问答:
对php不是很了解 写了个简单的例子
现用c#调用php写的 webservice(soap WSDL)iis6.0+php5.2.8
webservice如下
<?php
class WebService
{
public function Logout()
{
//header('Co ......
我是用mysql自带的C API
if(mysql_real_connect(&mysql,"125.0.0.108","root","root","home",3306,NULL,0))
{
AfxMessageBox("数据库连接失败") ......
我的Mysql 使用的时候 用dos建立的数据表 在dos中能显示出中文
但是在 其他的可视页面 和网页中都显示乱码 如何解决?
在mysql控制台:show variables like 'char%';贴结果出来看看。
mysql命令行模式下: ......
代码如下:
function uc_get_user($username, $isuid=0) {
$return = call_user_func(UC_API_FUNC, 'user', 'get_user', array('username'=>$username, 'isuid'=>$isuid));
return UC_CONNECT == 'mysql' ......
我在mySql中有一字段可存html标签,比如说里面有a标签
但是我输入查询条件a的时候并不想查出这条记录,也就是说查询的时候不考虑标签,只考虑内容。
请问大家怎样解决?
可以再弄一个字段来保存过滤标签后的内容。 ......