I downloaded sqlite3, added sqlite3.dll, sqlite3.def and sqlite3.exe to Windows/System32. System32 is in the Windows Path. When I run SQLite3 test.db as per the Quick Start documentation from SQLite, SQLite3 is not recognized.
I also tried registering the dll but that did not work. I looked at numerous posts here and elsewhere but I cannot figure it out.
If I run sqlite3 at the cmd prompt, in System32, it is recognized. But obviously, unless I am missing something I do not want to create databases in the System32 folder. (Update)When I run a command prompt as admin, SQLite3 is recognized. Is that normal?
I guess I am viewing this as the same as Java, in the sense that once Java was added to the path I can run the Java comd from anywhere.
Conversely running in linux has been a smooth event.
Thank you,
diek
Aha! I had the same problem today. sqlite3.exe wouldn't be recognized if it was in C:\Windows\System32 (though interestingly it would work in C:\Windows) and that location was in the path.
I solved this by "unblocking" the file as it was a downloaded file that Windows doesn't trust: Properties > General > "Unblock"
This would possibly explain why running as admin worked.
It is also possibly related to this issue of 32-bit vs. 64-bit windows, though I think it is the earlier blocking problem.
Related
I am new to these forums and to using Ubuntu and linux and UNIX. I really need some help here. I hope I haven't shot myself in the foot already. I have been trying to complete a UNIX carpentry lesson on the internet for an assignment. I am learning the basics about UNIX. I am not using a Mac, I am using a PC that I did not configure in any way (maybe that's my problem). I am using windows 10 on a lenovo and trying to the command prompt on Ubuntu to find my desktop where a file called "data-shell" is located. The problem: IT IS NOT FINDING THE DESKTOP. Upon further inspection, I have been looking through the location of my desktop and "data-shell" file and found it in the Users location under a number 12094, which I am assuming is the serial number for the computer. I have NEVER fiddled with the software at all with this computer as it cost me a lot of money, but I really do not want to be stopped in the tracks already. I have the following images numbered in the order that I discovered everything; they are posted here. I would really appreciate the help. P.S.: Since I am using a PC and not mac, I thought I had to use another command line like BASH or the terminal on my PCor doI just use Ubuntu? The UNIX shell is supposed to start with a $, right? Please correct me if I a wrong and thank you for your help
.
linux commands on windows can be ran via cmder or git bash (what i had used in past)
and in linux the desktop is at the path
/home/< username>/Desktop
whereas in windows its
C:\Users<username>\Desktop
both windows (DOS) and ubuntu/mac(linux) environment are entirely different you can directly run commands of one on the other environment, you do need to "setup" that env first if the command is not native to that.
Now, since its assignments that you are doing and all you need is bare-min linux env
you can give https://repl.it/ a try and create a new project in bash
Also, when you install Ubuntu on windows you dont get acces to windows like path, like "C:...", in ubuntu c:\ of windows is mounted to some other path in ubuntu
search on google how to access windows desktop from ubuntu shell after installing ubuntu inside of windows
When using Windows Subsystem for Linux (WSL), your C drive is located under /mnt/c.
Judging from the screenshot, you are user 12094, so you can either accept this, or you need to actually configure your machine. Also if you look in the screenshot you provided, there is a /home folder which I am betting is actually pointing to /mnt/c/, and your home folder will be under /home/12094, which is also the same as what is stored in $HOME.
To find the location of a file called data-shell, you can run the following linux command while in your home folder:
find $HOME -type f -name 'data-shell'
This command recursively searches for files in your home directory, with the name data-shell
Can someone tell how to open font awesome font browser (linked below)- windows batch file.
when I double click, command is opening but it shows an exception and closing.
How can I know whats wrong even a documentation link would be very helpful?
https://github.com/Jerady/fontawesomefx-glyphsbrowser
thank you
I just fixed it by dragging and dropping the fontawesomefx-glyphsbrowser.file into cmd and hitting enter that showed the error which showed that my JAVA_HOME is not set up correctly.
Try this 1.0 version https://www.jensd.de/wordpress/?p=2498, the 1.3.0 version can't open.
I faced the same problem too but solved it by updating java, I used javacpl.exe (you'll find it in the C:\Program Files\Java\jre\bin or the location you installed your java in(the jre/bin folder) )
Then i updated my JAVA_HOME and JRE_HOME path in environment variables with the updated jdk and jre folder location.
I then opened cmd and ran "java -version " to confirm that java was in path.
lastly i executed the "fontawesomefx-glyphsbrowser.bat" file and it worked.
Hi Well i had this issue too and i fixed you go to the java Folder/ bin folder and search for jvm.dll (in my case i found jvm1.dll ) so you copy it and create a folder name it Server if you found it before just copy the jvm.dll in it if you find it jvm1.dll just rename it and magic happen ! hope that i helped you
I am trying to install Navicat on windows 10 for SQLite purpose.
Here is error shown while starting install --click on navicat.exe file
Just restart the system and it will work fine . error is coming due to not find the path of sqllite file in C drive.
This is a frequently issue.The directly and quickly resolution is re-install the Navicat.
You can also try to search the file 'libmysql_d.dll' in your environment or try to find it in the Navicat install folder, and copy it to 'C:\Windows\SysWOW64\'.
for 64-bit version of Window, otherwise, please copy to 'C:\Windows\System32'.
You can also download it from http://www.opendll.com/index.php?file-download=libmysql.dll&arch=32bit&version=. and copy.
then you can uninstall the navicate and again install the navicate than it will work fine thanks
I was using a dual boot system and backing up in Linux my files using rsync and link-dedt and everything was working perfectly. Because the computer is mostly logged in Windows I decided to install cygwin and try to use rsync to do my backups. That way I can have a script that runs automatically every week. However when I tried to continue my backup using link-dest in cygdrive it didn't work. I think is because the files permission are seen differently by cygwin and Linux.
My command was something like:
rsync -av --exclude-from=exclude.txt --progress --link-dest=/cygdrive/e/2016-02-19/ /cygdrive/d/Users/ /cygdrive/e/2016-02-24/
I looked at files that I knew didn't change in the link-dest and source location and everything looks the same except for the file persmission. How can I omit permissions or solve this problem?
Cygwin on windows does cause lots of strange permissions.
If i was backing windows to a linux host, i would use https://acrosync.com/ which is native rsync for windows, unfortunately it does cost money.
We gave up on cygwin rsync partially due to these issues and ended up developing our own windows replication tool http://www.yintersync.net. Its free for non-commercial use.
The documentation states that there is a command-line shell for sqlite3:
To start the sqlite3 program, just type "sqlite3" followed by the name the file that holds the SQLite database."
When I try this, in the Windows Command Prompt I get the error message:
'sqlite3' is not recognized as an internal or external command,
operable program or batch file.
Windows explorer reveals several 'Sqlite3" folders in various places:
backends(C:/Python26/Lib/site-packages/django/db)
Lib(C:/Python26)
backends(C:/Django-1.1.1/Django-1.1.1/build/lib/django/db
backends(C:/Django-1.1.1/Django-1.1.1/django/db)
How do I access the shell, can anyone help?
Download sqlite3 binary for windows here. Unzip it and put it somewhere in your path.
That's the error message you get if you try to run any executable that's not in your current directory or in the path.
To correct the problem, find the SQLite executable (SQLITE3.EXE), and run it from the directory in which it resides, or add SQLITE3.EXE to your PATH environment variable.
You have to properly set your PATH environment variable to include one of the locations where sqlite3.exe resides. Usually SQLite seems to set that environment variable upon install but the list of paths where you found it indicates that it just came as a library for various other applications. Therefore it's not too surprising that the path isn't set.
I have sqlite3 on my machine, and as others have mentioned it must be located within a folder specified by your PATH environment variable. Since I use it a lot, I threw it in windows\system32, which is where I place a lot of utilities like pstools.