02-06-2012
Database is down
How to find out whether your database is down or not?
Could anyone provide me the command please..
Thanks
C
9 More Discussions You Might Find Interesting
1. Programming
help me in using database in c++
whether datas entered in c++ can be
stored in Oracle or access database?
give a hint (1 Reply)
Discussion started by: sajin_george
1 Replies
2. UNIX for Dummies Questions & Answers
I am looking for a database that i can use on Red Hat Linux 8.0. I wish to store records about my clients in it. I do not wish for i to be used on a server (3 Replies)
Discussion started by: adminbw
3 Replies
3. Programming
THis is my program
#include <stdio.h>
#include "sqlext.h"
#include "sql.h"
#include <string.h>
#include<errno.h>
// #include "sqlunix.h"
#define STR_LEN 30
#define SQL_NTS (-3)
#define MYSQLSUCCESS(rc) ((rc==SQL_SUCCESS)||(rc==SQL_SUCCESS_WITH_INFO))
... (8 Replies)
Discussion started by: ramneek
8 Replies
4. Linux
Hai ,
can any one suggest me any site where the mysql tutor for linux is avialable i am new to the linux mysql so i want to know right from the basics and how can i connect those database to planner tool in linux
:)
Regards
Sanju (1 Reply)
Discussion started by: sanjustudy
1 Replies
5. Programming
how can we connect to database(psql) using c language?.
Any one help.Pls say the hader file and function's avilable in C for database operation(like connecting,selecting,etc...). (3 Replies)
Discussion started by: sabari
3 Replies
6. UNIX for Dummies Questions & Answers
i've got a database setup that references user inputs to see if they are already inputted. What I am wanting to do is allow the user to update the database by typing
"update: name" where name is someone already in the database.
echo "Enter your name."
read NAME
location=`find . -name... (2 Replies)
Discussion started by: fufaso
2 Replies
7. Solaris
hi..
i have a need .. my php runs on my linux redhat box with mysql.. i want my php code to refer another mysql database
which is in solaris 10 x86... can u tell me the procedure ..
how it can be done through php .. sorry am new to php...
is it possible to redirect from linux mysql to... (7 Replies)
Discussion started by: senkerth
7 Replies
8. Solaris
I installed Oracle 10 software on Solaris 11 Express, everything was fine execpt I can't create database using dbca.rsp file. I populated file with following options.
OPERATION_TYPE = "createDatabase"
GDBNAME = "solaris_user.domain.com"
SID = "solaris_user"
TEMPLATENAME = "General... (0 Replies)
Discussion started by: solaris_user
0 Replies
9. Shell Programming and Scripting
I have a reseller account with hostgator, which means i have WHM and Cpanel. I have set up a staging environment for one of my wordpress installations (client website), which is essentially sitting at staging.domain.com (live site is at domain.com). The staging website is a complete copy of the... (1 Reply)
Discussion started by: nzrobert
1 Replies
LEARN ABOUT PHP
fbsql_database_password
FBSQL_DATABASE_PASSWORD(3) 1 FBSQL_DATABASE_PASSWORD(3)
fbsql_database_password - Sets or retrieves the password for a FrontBase database
SYNOPSIS
string fbsql_database_password (resource $link_identifier, [string $database_password])
DESCRIPTION
Sets and retrieves the database password used by the connection. If a database is protected by a database password, the user must call
this function before calling fbsql_select_db(3).
If no link is open, the function will try to establish a link as if fbsql_connect(3) was called, and use it.
This function does not change the database password in the database nor can it be used to retrieve the database password for a database.
PARAMETERS
o $
link_identifier -A FrontBase link identifier returned by fbsql_connect(3) or fbsql_pconnect(3).If optional and not specified, the
function will try to find an open link to the FrontBase server and if no such link is found it will try to create one as if
fbsql_connect(3) was called with no arguments.
o $database_password
- The database password, as a string. If given, the function sets the database password for the specified link identifier.
RETURN VALUES
Returns the database password associated with the link identifier.
EXAMPLES
Example #1
fbsql_create_clob(3) example
<?php
$link = fbsql_pconnect("localhost", "_SYSTEM", "secret")
or die("Could not connect");
fbsql_database_password($link, "secret db password");
fbsql_select_db($database, $link);
?>
SEE ALSO
fbsql_connect(3), fbsql_pconnect(3), fbsql_select_db(3).
PHP Documentation Group FBSQL_DATABASE_PASSWORD(3)