Hello HP-UX Gurus,
I am having issues trying to start an x-session via eXceed 7.1.
When I bring up eXceed via XDMCP Braodcast I see the host name and IP Address but when I try to connect the X window does not come up.
I made the modification to the following file “/etc/dt/config/Xaccess”... (2 Replies)
Hi friends
recently i have installed SXDE 1/08 into my machine,and i installed wifi driver also
its working fine,Recently i was unable to connect to Internet,I have not changed any configurations and any installations,thing is that i got my iwk0 interface is UP and IP address also and i can... (6 Replies)
Hi everyone,
I have an urgent requirement to get some table data from Linux-MYSQL server from HP-UX with oracle database.Is there any way we can get
connected through Shell script from HP-UX and issue select on mysql to get some table data?
Please help me out. (7 Replies)
Hi,
I want to connect perl with the mysql to select and so on but the connection don't work
code
#!/usr/bin/perl
BEGIN {
# PERL MODULES WE WILL BE USING
use DBI;
$dbh = DBI->connect('DBI:mysql:C:\Program Files\MySQL\MySQL Server 5.0\data\db1','','pass') or die $DBI::errstr;}
#... (1 Reply)
How to connect a MySQL database from unix using unix shell scripting ( people are using perl scrpt to connect the same database).
I want to access a MySQL database through a shell script (4 Replies)
Hello,
I wont to connect a MySQL database to debian:
I have installed libmyodbc package and after i have configured /etc/odbcinst.ini:
Description = MySQL driver
Driver = /usr/lib/odbc/libmyodbc.so
Setup = /usr/lib/odbc/libodbcmyS.so
and /etc/odbc.ini :
Description =... (0 Replies)
Hi Gurus,
I have installed the oracle xpress 10g edition in my red hat linux and saw the message that it has been installed successfully ,but after that I started the database by going through application->database->start database
and after that i open the sql prumt but when i tried to connect... (18 Replies)
Hi Friends,
Can someone help me with below issue , thanks.
Subject : Unable to configure "Reliance NetConnect" on RHEL 5
Here some helpful information :
# lsusb
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 002: ID 8087:0020
Bus 001 Device 003: ID 192f:0416
Bus 002 Device... (0 Replies)
It appears i cant connect linux VPS server via SSH or i cant SCP any file to it and i cant wget any file TO it (from inside it) while CSF (Config Server Firewall, LFD is running. Just after isntall in default configuration and after changing TESTING mode to LIVE mode.
Trying to wget & install... (1 Reply)
Hello,
I just installed CentOS 7 (Server with GUI) and guess what I could install Virtual Box Guest additions without installing any extra package/software which is great news !
Now bad news or not so great news.
My Host OS is Windows 10, Virtual Box is the virtualization software. CentOS7-1... (0 Replies)
Discussion started by: bluemind2005
0 Replies
LEARN ABOUT PHP
mysqli_error
MYSQLI_ERROR(3) 1 MYSQLI_ERROR(3)mysqli::$error - Returns a string description of the last error
Object oriented style
SYNOPSIS
string$mysqli->error ()
DESCRIPTION
Procedural style
string mysqli_error (mysqli $link)
Returns the last error message for the most recent MySQLi function call that can succeed or fail.
PARAMETERS
o $
link -Procedural style only: A link identifier returned by mysqli_connect(3) or mysqli_init(3)RETURN VALUES
A string that describes the error. An empty string if no error occurred.
EXAMPLES
Example #1
$mysqli->error example
Object oriented style
<?php
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");
/* check connection */
if ($mysqli->connect_errno) {
printf("Connect failed: %s
", $mysqli->connect_error);
exit();
}
if (!$mysqli->query("SET a=1")) {
printf("Errormessage: %s
", $mysqli->error);
}
/* close connection */
$mysqli->close();
?>
Procedural style
<?php
$link = mysqli_connect("localhost", "my_user", "my_password", "world");
/* check connection */
if (mysqli_connect_errno()) {
printf("Connect failed: %s
", mysqli_connect_error());
exit();
}
if (!mysqli_query($link, "SET a=1")) {
printf("Errormessage: %s
", mysqli_error($link));
}
/* close connection */
mysqli_close($link);
?>
The above examples will output:
Errormessage: Unknown system variable 'a'
SEE ALSO mysqli_connect_errno(3), mysqli_connect_error(3), mysqli_errno(3), mysqli_sqlstate(3).
PHP Documentation Group MYSQLI_ERROR(3)