I'm currently planning to purchase a server for our MySQL database. I'm deciding whether to get an Intel 2 x quad core Core2Duo processor or 2 x dual core Xeon. Any feedback will be appreciated.
Hi All,
Could anyone please let me know from where can i download free video learning materials on Oracle Database Administration 9i or higher.
Awaiting your comments
Regards,
Srijith
Hi,
I'm configurint Postfix to use external smtp. For this, I use the following tutorial: http://carlton.oriley.net/blog/?p=31
After following it, I found in the logs that /etc/postfix/sasl_passwd.db couldn't be read. The file didn't exist. I used postmap hash:/etc/postfix/sasl_passwd (http://postfix.state-of-mind.de/patrick.koetter/smtpauth/smtp_auth_mailservers.html) as root, but I get:
postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied
Why do I get this?
Thanks.
Folks,
Apologies for aksing what might be a very simple question, but can I backup a database and ignore the databases FTI catalog?
These backups will be restored to a different server and the FTI Catalog isn't necessarry.
Thanks
BW
Currently, every day before I start work, I complete the following procedure:
ssh to the production server
gzip our daily database dump file
scp the gzipped dump file over to my computer
gunzip the dump file
dropdb mydatabase
createdb mydatabase
psql mydatabase < dump.sql
Is it possible (I'm sure it is) to automate this process on Mac OSX? This way it is done by the time I get to work in the morning. If so, what is the quickest and easiest way
Currently, every day before I start work, I complete the following procedure:
ssh to the production server
gzip our daily database dump file
scp the gzipped dump file over to my computer
gunzip the dump file
dropdb mydatabase
createdb mydatabase
psql mydatabase < dump.sql
Is it possible (I'm sure it is) to automate this process on Mac OSX? This way it is done by the time I get to work in the morning. If so, what is the quickest and easiest way?
For Oracle 9i + 10g (database), there used to be a really helpful script that you could run to validate your environment was correct before you did the install.
Does such a thing exist for 11g does anyone know? Or is the validation finally done by the OUI? If something similar does still exist, please can someone point me in the right direction?
I'm trying to do a nightly backup of a SQL Server 2005 database to get the leanest, smallest file that includes all the table data, stored procedures, views, and functions.
I'm downloading and saving this daily in case the server isn't available and I need to just get some data out. I don't care about the logs or any other parts of the DB but the data, procs, tables, and functions.
What's the easiest way to get just this information backed up?
Hi all,
I am trying to connect to mysql database on amazon through a php script, but I am shown this error:
Warning: mysql_connect()
[function.mysql-connect]: Lost
connection to MySQL server at 'reading
initial communication packet', system
error: 111
I have tried and searched places and did the following things:
In "/etc/mysql/my.cnf" I commented out the line bind address: 127.0.0.1 to allow the acccess to all.
checked /etc/hosts.allow and /etc/hosts.deny and made sure that there are no rules present that may cause
But still no luck. Please suggest any other way.
Thanks,
Madhup
Can someone recommend me a linux flavor to install an oracle database on? I have no preferences for any flavor.
Is there flavor which is easier than others? Or has less issues?
I'm managing a small website, which allows people to register as members. Previously I used a google form to manage member registration, but now as the number of users becomes quite big I am switching to mysql. Currently I have around 500 members in the database, saved in a google spreadsheet. How can I do a bulk import from a google spreadsheet to a table in mysql? BTW I'm using phpmyadmin, so a solution for phpmyadmin is preferable :)
Thanks.
I'm dbowner on certain database (my account is on public role on server login but dbowner role on certain databases). Now when I try to add logins from server logins, I can only see sa account and my account. How can I add user to my databases from server logins?
I have a postgres database on one server and I need access it from another server.
I need to edit the pg_hba.conf file, but have now idea what are the steps to edit this file. Server Centos
I need to add the following line in the file
host all all 10.0.2.12 255.255.255.255 trust
I located it in var/lib/pgsql/data/
Now basically I'm not sure what are the correct steps to do this
My wife uses an application which stores persistent information in files that were created by FileMaker v6. The files recently became corrupted, and I'm trying to find a way to recover whatever I can.
Generally, I'm looking for any tool that would let me programmatically query the database file, without dishing out the money for full version. If anyone knows of a tool that can do this, please let me know!
I want to downgrade my database with all the views and stored procedures from SQL 2005 to SQL 2000 but the problem is that the views are not restored properly.
We have a database on a SQL 2005 server that is set to Simple transaction mode. The logging is set to 1 MB and is set to grow by 10% when it needs to.
We keep running into an issue where the transaction log fills up and we need to shrink it. What could cause the transaction log to fill up when its set to Simple and unrestricted growth is allowed?
Right now I am able to do the backup using mysqldump. But I have to take down the web server AND it takes around 5 minutes to do the backup. If I don't take down the web server, it takes forever and never finishes + the website becomes inaccessible during the backup.
Is there a quicker/better way to backup my 22 GB and growing database?
All the tables are MyISAM.
Is there a way to export the database schema in well formed XML of a MS 2000 SQL Server. I'm looking for just the structure not the data and the more detailed the better. The XML may be used in a migration processes. I'm more familiar with MySQL then with SQL Server so please be detailed if you have time.
Thanks
Hi My que is
i tried to get the data from data base using
String SQL_QUERY ="from dat_personal_info ";
Query query = session.createQuery(SQL_QUERY);
for( it=query.iterate();it.hasNext();)
{
Object[] rowObject =(Object[]) it.next();
}
but error occurs
Hibernate: select dat_person0_.row_id as col_0_0_ from dat_personal_info dat_per
son0_
java.lang.ClassCastException: bn.com.server.database.maptables.dat_personal_info
$$EnhancerByCGLIB$$e1ffd36e cannot be cast to [Ljava.lang.Object;
pls any who ans pls reply
Thanks & Regards
Sudhir gudhe
When I try to create a new database connection, the Data Sources (ODBC) programs hangs or takes a very long time to find the list of available SQL Servers.
This only happens when there are other computers on the network, when my machine (a standard Windows 7 laptop) is alone, it works just fine.
My question is: What should I look for in terms of SQL server or ODBC configurations that will take away this random behaviour?
We have large multi-gigabyte data sets on which we run very complex queries, for example
{
$or: [ { id: 30000001, ... }, { id: 30000005, ... }, ..., { id: 30001005, ... } ]
}
It seems that CPU is actually a bottleneck at this point, so I'd be advantageous to be able to run multiple mongod instances on the same set of database files.
We've considered using replica sets to this end, but would prefer to not require the extra disk space simply for CPU reasons.
I have somehow two variables for example x and y.
I have also made a model with 3 fields (longitude,latitude,name) and have it activated in mysql database.
I need to send these two variables(x,y) to the django server so as to search if there is an object with longitude=x and latitude=y.If there is one i want to get back it's name.
How can i do this?
I've recently become responsible for administering an application which is essentially a front end to a Sybase SQL Anywhere 9 database, including the database itself. I'd like to use unload table to efficiently export the data for backup and, in the case of a few tables, ETL to get it into a reporting database / small scale data warehouse.
The problem is that the client application crashes and leaves dead connections and shared locks on a pretty regular basis, which seems to prevent unload table from getting the (brief) exclusive locks it needs. Currently I use Sybase Central to verify that these connections are in fact zombies and drop them myself at the end of the day / week.
Is there a command or script to drop all connections? Being able to drop everything at once after verifying that they're unneeded would be quite helpful but I haven't found a way to do it.
Does anyone know of a Firefox plugin that would enable tab-completion (or some other key sequence like Alt-L) of items in drop-down lists in web forms?
e.g.
ou<TAB>in<TAB>s<TAB>
for 'OurCompany - Internal Support'
Vimperator's hints mode makes it very ergonomic to focus the drop-down list with a key sequence like
f13
but the keyboard interface to the drop-down list still sucks. I very frequently have to pick items from a very long list with very long common prefixes among the entries (e.g. 30-40 starting with OurCompany -), which renders both the built-in keyboard interface and the mouse pretty slow and unergonomic.
I basically want readline support for filling webforms!