Sponsored Content
Full Discussion: Can't Install MySQL with PHP
Top Forums Web Development Can't Install MySQL with PHP Post 302843283 by verdepollo on Monday 12th of August 2013 04:00:17 PM
Old 08-12-2013
404 error has nothing to do with the operating system or its configuration but with the repository where you're trying to fetch the file from.

Try using a different mirror.

If you don't want to mess with Aptitude and its repos, you can also download the package by hand and install it with dpkg.

Here's a mirror that has the file but there may be many others.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

PHP & Apache & MySQL install how-to ?

how do i install php & mysql with apache on suse linux ??? apache was installed and configured when i installed linux. all its files are in different folders. e.g http files in usr/local/httpd/htdocs/ and its configs are in etc/httpd/ so how do i install php and get it to work with apache and... (4 Replies)
Discussion started by: perleo
4 Replies

2. AIX

Install MySQL connector without local SQL database

Hello UNIX gurus, I need to install the mysql odbc connector with unixODBC on my AIX 5.3 machine. I have a mySQL database running on another server (Ubuntu 7.04). The SQL database works fine. The problem I am having is when trying to run ./configure for mysql-connector-odbc it seems to be looking... (1 Reply)
Discussion started by: raidzero
1 Replies

3. AIX

MYSQL Install on AIX

Hello All: I've been asked to install mysql on AIX box and I have very little experience in UNIX. Does anybody have any step by step directions on installing MYSQL? Any guidance would be appreciated! Thanks (1 Reply)
Discussion started by: rmnv
1 Replies

4. Linux

make command problem with MySql install

Hi, hopefully someone can help me. I am trying to set up LAMP on Fedora 11 starting with MySql. I downloaded the mysql-5.1.40.tar.gz tarball and unpacked it all. This created the mysql-5.1.40 directory. Next I ran the ./configure command. Following this I ran the make command to compile but... (2 Replies)
Discussion started by: patcom
2 Replies

5. Red Hat

I want to install/compile php with mysql.

I have removed php-5.1.6-27.el5 from our system. Because I installed it without mysql before. How can I install php together with mysql. # rpm -qa | grep mysql* libdbi-dbd-mysql-0.8.1a-1.2.2 mysql-5.0.77-4.el5_4.2 mysql-server-5.0.77-4.el5_4.2 mysql-connector-odbc-3.51.26r1127-1.el5 ##... (5 Replies)
Discussion started by: getrue
5 Replies

6. Ubuntu

Not able to install mysql in ubuntu11.10

where should i download mysql-server package from? (2 Replies)
Discussion started by: srinathk
2 Replies

7. Linux

How To Install and configure Mysql for CRM with PHP

Hi , I have tired several times and tried a lot to install CRM in Centos Linux i686 but while im opening in browser for installing it shows database error as Unable to connect to database Server. Invalid mySQL Connection Parameters specified This may be due to the following reasons:... (0 Replies)
Discussion started by: babinlonston
0 Replies

8. Emergency UNIX and Linux Support

Migration of website... PHP/Mysql -which path for DB.php

Hi, I have two websites: website1.com and website2.com I didn't write either but have successfully moved all the files from website1.com to website2.com I (thought) I installed all the correct php modules and website2 is mostly up and running. However, my boss found that when we go to a... (15 Replies)
Discussion started by: Astrocloud
15 Replies

9. HP-UX

How to install Mysql on HP-UX?

Gd afternoon I am trying to run my website made in php-mysql on a HP-UX system but dont know how to install and run services of Mysql. Kindly provide appropriate solution for installing mysql on HP-UX system. thanks in advance. (1 Reply)
Discussion started by: kumar.ashishcs
1 Replies
MYSQL_ERRNO(3)								 1							    MYSQL_ERRNO(3)

mysql_errno - Returns the numerical value of the error message from previous MySQL operation

SYNOPSIS
Warning This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide and related FAQ for more information. Alternatives to this function include: omysqli_errno(3) o PDO::errorCode int mysql_errno ([resource $link_identifier = NULL]) DESCRIPTION
Returns the error number from the last MySQL function. Errors coming back from the MySQL database backend no longer issue warnings. Instead, use mysql_errno(3) to retrieve the error code. Note that this function only returns the error code from the most recently executed MySQL function (not including mysql_error(3) and mysql_errno(3)), so if you want to use it, make sure you check the value before calling another MySQL function. o $ link_identifier -The MySQL connection. If the link identifier is not specified, the last link opened by mysql_connect(3) is assumed. If no such link is found, it will try to create one as if mysql_connect(3) was called with no arguments. If no connection is found or established, an E_WARNING level error is generated. Returns the error number from the last MySQL function, or 0 (zero) if no error occurred. Example #1 mysql_errno(3) example <?php $link = mysql_connect("localhost", "mysql_user", "mysql_password"); if (!mysql_select_db("nonexistentdb", $link)) { echo mysql_errno($link) . ": " . mysql_error($link). " "; } mysql_select_db("kossu", $link); if (!mysql_query("SELECT * FROM nonexistenttable", $link)) { echo mysql_errno($link) . ": " . mysql_error($link) . " "; } ?> The above example will output something similar to: 1049: Unknown database 'nonexistentdb' 1146: Table 'kossu.nonexistenttable' doesn't exist mysql_error(3), MySQL error codes. PHP Documentation Group MYSQL_ERRNO(3)
All times are GMT -4. The time now is 03:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy