I'm using MySql server on Mac OSX 10.6.7, and I've installed latest version of MySQL Workbench GUI to administrate it. When I try to Export a database, I get a message about mysqldump being version 5.1.34 and therefore incompatible with the server whose version is 5.5.9.
How can I update the mysqldump version to be compatible with my server?
Thanks
Look at the mysql installation folder. Most likely it is /usr/local/mysql/bin
You will find the mysqldump compatible to your mysql version. You need to tell mysqlworkbench to go and fetch mysqlworkbench from this location. To do that, open mysqlworkbench - preferences - admin
Your best bet is to trash what ever mysql server u have installed, and install it via Brew
Link
You can also just install mysql from in addition to the one you are running however this isnt advised.
brew install mysql
hopefully the brew version will be new enough to support it.
Before dumping your old mysql install however, it might be a good idea to do an export via a tool like navicat.
I had some problems to exactly know what and where to put the local path in the preferences.
here are some more detailed infos:
1- Go to mysqlworkbench and edit the preferences:
mysqlworkbench/preferences.../Administartion
2- Edit the "Path to mysqldump Tool:" field and select your local mysqldump
example: /usr/local/Cellar/mysql/5.7.21/bin/mysqldump
Related
I installed oracle database with the help of this : How to install Oracle 11gR2 on Ubuntu 14.04? my problem is that oracle start automatically in the start of the pc I want to disable the autostart of orcaledatabase and start it only manually
If the setup is using the preferred way to start/stop (dbstart/dbshut) then there should be a file /etc/oratab that lists your database. In the end of the line there is a "Y" which stands for Yes in autostart.
Change that to N, if that doesn't work, you are using non-(oracle)standard way to run the DB.
Run initctl list and look for anything relating to Oracle. (or service --status-all )
Hi can someone provide detailed installation steps to install Oracle data integrator 11g or 12c on my mac book pro. I am very new to Mac and I am a business analyst, so would appreciate if you could be specific in giving the instructions.
ODI can be run in OS X.
Today I have installed ODI 12c2.1.3 version in my macbook pro.
For sure, there is no information is available to fix the issues. I hope this will help others.
As we know the default installation directly doesn't work. I have done some changes in default configurations and lib. I am running setup on jdk8. I am assuming you have already installed ODI
Changes you have to made is as follows
odi.conf
File Path - <Oracle Home>/Middleware/Oracle_Home/odi/studio/bin
Append the below lines to odi.conf
AddVMOption -Dswing.defaultlaf=com.apple.laf.AquaLookAndFeel
AddJavaLibFile ../extensions/oracle.odi.navigator.12/lib/jide-common.jar
Download the latest jidesoft demo zip from http://www.jidesoft.com/products/download.htm
Link I have used - http://www.jidesoft.com/products/1.4/jide_demo.zip
extract the zip file and rename the file to jide-common.jar and copy it to location
<Oracle Home>/Middleware/Oracle_Home/odi/studio/extensions/oracle.odi.navigator.12/lib
After this go to
cd <Oracle Home>/Middleware/Oracle_Home/odi/studio/bin/
./odi -verbose
You should not see any error.
As this jidesoft jar is an evaluation version. you should follow their terms and conditions.
ODI Studio 11g can be installed on Mac OS X by downloading the Oracle Data Integrator Companion. I'm not sure it's the most reliable way to use ODI though.
You will first need that you have the right version of Java installed. You can check on the certification matrix and if needed install a new JDK.
Then unzip the companion archive, browse to the studio folder, unzip the other archive in there, browse to oracledi/client and start odi.sh. There might be a dialog box asking for the location of the JDK on the first start.
ODI Studio 12c doesn't run on OS X so far.
If the goal is just to try ODI and quickly learn it, I actually would rather recommend to download the free ODI Getting Started Virtual Machine that runs on Virtual Box. Everything will already be set up with an Oracle database, Golden Gate and much more.
I download jdeveloper studio edition and install it in C:\Oracle\Middleware
then I install weblogic instance using C:\Oracle\Middleware\wlserver_10.3\common\bin\config.exe
to C:\myproject\domains\myweblogic
Then download DMS_11.1.0.0.0_WINDOWS.zip and install it to C:\Oracle\Middleware\Mobile.
thereafter cant start
C:\Oracle\Middleware\Mobile\Mobile\Server\bin\runmobileserver.bat
unless i change the variable to this batch file
set DOMAIN_DIR=C:\myproject\domains\myweblogic
what do I do next to see that it works?
is there a simple example that creates a sigle table and synchronized between server and mobile clients?
very difficult to find information on this technology. interfere very popular tags (Oracle, Database).
If you install Database Mobile Server directly in the WebLogic directory, you will not need to edit the batch file. For instance, I believe the default install directory is:
C:\Oracle\Middleware\wlserver_10.3
So if you used the default install directory, you would install Database Mobile Server there, with no added 'Mobile' or other directory. If you chose to install WebLogic elsewhere, then replace the above with that directory.
There is another small issue to be aware of.
The installer will give you warning about installing in a non-empty
directory. You should click through the warning. This is a known issue
documented in the Release Notes.
Regarding your other question about a demo, there is a Java demo found in
<MOBILE_HOME>\Mobile\Server\demos\consolidator_api
You will need to download a client and perform a sync, which is documented here:
http://download.oracle.com/docs/cd/E22663_01/doc.11100/e22681/instsqlite.htm#BABGAACI
I hope that helps, good luck with your project. Let me know if you have further questions.
Eric Jensen, Oracle PM
I'm trying to connect my Ruby on Rails application to a legacy Database that is in a Microsoft SQL Server 2008. I have looked around different tutorials, pages, help pages, and question pages and still haven't been able to make it work.
I'm using:
Ubuntu karmic
Rails 2.3.5
Ruby 1.8.7
activerecord-odbc-adapter 2.0
activerecord-sqlserver-adapter 2.3
dbd-odbc 0.2.5
dbi 0.4.3
I also have installed:
freeTDS 0.82-6
tdsodbc 0.82-6
sqsh 2.1-8build1
libodbc-ruby1.8 0.9997-2 (have also tried with 0.9995 and 0.9998)
unixodbc 2.2.11-16ubuntu1
I have managed to connect to the database with tsql, sqsh and isql. But can't connect it through irb nor through rails. Whenever I try I get the following error:
DBI::DatabaseError: **INTERN (0) [RubyODBC]Cannot allocate SQLHENV**
from /var/lib/gems/1.8/gems/dbd-odbc-0.2.5/lib/dbd/odbc/driver.rb:36:in `connect'
from /usr/lib/ruby/1.8/dbi/handles/driver.rb:33:in `connect'
from /usr/lib/ruby/1.8/dbi.rb:142:in `connect'
from (irb):4
It doesn't really matter if I use the odbc-adapter or the sql-adapter, because it always fails in the dbi driver. Any ideas on what can be wrong?
I have the odbc.ini, odbcinst.ini and freetds.conf files properly defined. And they are working with all the other commands to connect (isql, tsql, sqsh).
Please help me or point me somewhere that might help me! =)
PS: I have already followed the following pages with not much success (among others):
wiki.rubyonrails.org/database-support/ms-sql?s[]=sql&s[]=server
piao-tech.blogspot.com/2008/02/using-activerecord-with-microsoft-sql.html
lambie.org/2008/02/28/connecting-to-an-mssql-database-from-ruby-on-ubuntu/
stackoverflow.com/questions/1419397/rubyodbc-cannot-allocate-sqlhenv
This page seems to suggest that the problem may be related to the inability to find a shared library. You should ensure that the system can find any libraries it may need by checking the output of ldconfig -v and ensuring that the folders containing libodbc, libodbcinst and libtdsodbc are included in the library search path. If you are not sure how to do this then this link may help.
If this fails then build the gem manually using the following line
ruby extconf.rb --with-odbc-dir=/folder/to/unixodbc --disable-dlopen
I can't swear that this is the correct answer but it may help. I do have freetds and SQL Server working quite happily with rails on Centos
If you can switch to JRuby ( jruby.org ) you can try using the active-record-jdbc gem with the MS SQL server JDBC driver. I use them to connect to a MS SQL Server 2005 database from Ruby and it works like a charm.
Hope it helps!
Sometimes my Oracle database on Windows gets hosed. How do I do a manual uninstall of Oracle?
The six-step process to remove all things Oracle from a Windows machine:
A. Delete the Oracle services:
In the registry, go to
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
and delete everything that starts with "Oracle"
B. Remove other Oracle stuff from the registry:
Go to \HKEY_LOCAL_MACHINE\SOFTWARE\ and delete the key ORACLE
C. Reboot
D. Delete all the Oracle software from the directories where you installed it
E. Delete the Oracle software inventory:
Delete the directory C:\Program Files\Oracle. You must do this no matter where you installed your Oracle software - the Oracle installer automatically writes information here.
F. Delete all shortcuts from your Start menu.
G. Remove the Oracle directories from PATH Environment Variable.
To simplify cleanup in the future, I'd strongly recommend you install your Oracle products in one or more virtual machines.
Have a look at:
http://www.oracle-base.com/articles/misc/ManualOracleUninstall.php
Basically, it comes down to:
Remove all you can with the installer.
Remove Oracle keys from the registry.
Remove the Oracle directories from your computer.
With (of course) the requisite reboots thrown in as required ;-)
It's worth noting that there is an official Oracle standalone deinstaller: https://docs.oracle.com/cd/E11882_01/install.112/e47689/remove_oracle_sw.htm#LADBI1332, which I just used to uninstall Oracle 11 client. This is not necessarily better or easier to use than the top suggestion on this page, but it is "official".
One thing to note - if you use the official deinstaller, it does not like the temp folder to have spaces in it. So if you have it set to "Documents and Settings...\temp" it will fail. Use the control panel environment settings button to SET the TEMP folder first.
Uninstall Oracle 10g from window 7, Xp
step 1 : Open up the start menu and in program files look for oracle – oraDb10g_home folder, and select oracle installation products – > Universal Installer.
step 2 : Select Deinstall Product, which will pop up new window , select check box oracleDb10g_home1 as shown below. Click on remove button. This will remove oracle.
step 3 : Remove the registration file from Regedit, in order to remove oracle 10g completely. Run Regedit.
Delete the following keys if it exits after the un-installation.
HKEY_CURRENT_USER\SOFTWARE\ORACLE HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\Oracle.oracle
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleDBConsole
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Oracle10g_home
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OraclService
step 4 : Now delete the folder where you have installed the software. By default, it is installed in c drive as C:\oracle and from C:\programs files\oracle.
Hence by doing this steps successfully, Oracle 10g is removed completely. If you are having any problem in removing or uninstalling the program,(oracle ) then do comment below, we will look on that.
The tips for using a VM enviroment is the best: no worries about deinstalling. Just install a complete Oracle enviroment and after one succesfull run: winrar the VM ... after corrupting the Oracle home once again: just delete the current VM and unrar the backup
This seems way too simple, but in Windows I was able to uninstall Oracle by going into Settings > Apps and Features finding the Oracle database clicking it and then uninstall. I didn't even need a password.
Assuming a unix type OS and that you properly installed it using an account named oracle...
find / -user oracle -exec rm -fr {} \;
That having been said, this must be done as root and you had better not mind loss of any and all files that belong to oracle. There will be no... NO recovery from this method.