When I download a workbook from the server, I can edit the charts, but cannot edit the connection.
Is there any way to to use the downloaded workbook as a primary workbook, or be able to edit the data connections?
(The primary workbook that was uploaded to the server was lost)
Thank You
It depends what kind of connection was made on the server. Check the icon next to the data connection name. If it is a single disk, it's a traditional (sql) database connection. If it's a double disk, it indicates the worksheet is using a .TDE extract, or cached file copy of the data. If the icon looks like a Tableau logo, it means the worksheet is using a server connection.
You can download and upload server connections independent of the worksheet. You can also swap connections (via right-click, change connection) after you download the worksheet, if you want to run against a local file or database, for example.
You should be able to edit the connections in the workbook. In version 7, use the data menu, and "Edit Connection" is under the connection name. In version 8, the menu layout changed a bit.
Or is the edit connection menu item disabled? Saving a local copy may help, but I don't think it should be necessary.
To save a local copy of your workbook, just use "File->Save As" from the menu. Then you have a saved copy in addition to the copy on the server. You can always republish it to the server overtop of the previous version.
Related
I cannot figure out how to use the ftp-kr extension for VS Code properly. I have read and re-read the GitHub Wiki and the README documentation and cannot find any other help for my issue. I posted this question to the project Issues on GitHub but have yet to receive a response.
ftp-kr is just a simple extension for editing files via FTP that are located on a remote server. Many other users seem to be using the extension with no issue.
I installed the extension, and then I successfully edited the connection settings (in ftp-kr.json) and successfully made a connection to the remote server I am trying to edit files on.
I opened the FTP-KR: EXPLORER pane to look at all of the files on the server, but if I double-click any of the files to open them and then try to edit them, I am unable to type and just get a warning in VS Code that says "Cannot edit in read-only editor".
I have tried right-clicking on files and clicking the "Download This" button, thinking that maybe I need to download a local copy of the files to edit before uploading the changes. However, whenever I click the "Download This" option on any file in the ftp-kr Explorer, it just gives me an error message that says "[file_name] is not in remotePath".
I tried running the >ftp-kr: Download All command, but it just spits out a notice that says "Nothing to DO".
How do I edit files located on the remote server and save those changes to the server?
P.S. I have tried the solutions found in this question but unfortunately none of them seem to work. Particularly, "code-runner: Run in terminal" is not in my settings and "Edit in Local" is not a context menu item that appears in my editor.
After a number of months, I finally have a solution to this thanks to the developer eventually responding on GitHub. There are a few things going on here.
Any file that a user wishes to modify must be downloaded as a local copy on the user's machine first and then that copy can be uploaded to the webserver via FTP.
ftp-kr cannot auto-download individual files. (Either when they are double-clicked on or through any other method.) It can only download entire directories, and those directories can be changed by using the localPath and ignore options in the configuration file, then stopping and restarting the ftp connection.
The "Download This" context menu option that appears is a piece of non-implemented code. It will not do anything.
>ftp-kr: Download All is the preferred way (by the developer's intent) to download the remote files onto the user's computer. The fact that it was returning an error before was a bug which has now been fixed.
Confusingly, the user can view the filenames and context of every file on the remote file system using a convenient tree view, you just cannot simply download any of those files individually.
In all, this plugin does not provide the functionality that I hoped it would have. (Namely, being able to easily download, modify, and upload individual files.) So I know how to properly use it, I will just be switching to a different plugin for my purposes.
Using MySQL Workbench 6.3.8 build 1228 CE (64-bit), on Windows 10 Pro, version 1803, build 17134.112.
I want to restore my old workspaces in MySQL Workbench. If that is not possible, I will be happy with just being able to access them as text files.
I guess my laptop had an unusual power-off or reset last night. Normally I put it in Sleep mode, but when I opened it this morning it had reset itself: all applications had quit.
I re-opened Workbench, and got this error message:
saying that my workspaces could not be opened.
I can't get the full text of the error message, so I don't know exactly where Workbench is looking, but using Windows Explorer I could navigate to:
C:\Users\JamesBarton\AppData\Roaming\MySQL\Workbench\sql_workspaces
which looks right to me, and contains .workspace and .autosave directories.
I've backed up the Workbench\ directory, and then tried just removing the .autosave directories, to force the use of the .workspace directories, but when I did that, Workbench still just opened one empty tab. The first .workspace directory contains 95 files, including 45 .scratch files totalling 107kb.
Is it possible to check exactly where MySQL Workbench is looking for workspaces?
Can I force it to open a workspace directly, or at least show me why it can't open a workspace? If that is not possible, can I somehow extract the SQL from the .scratch files? Thanks.
Should be easy to recover the sql from the scratch files which are just plain text files. The sql code is not encrypted. Also you can look in the Workbench log file (see Help menu) to see if there's an error message or similar for a specific file. Could be there's some file corruption. Running the file system checker on that disk also might help.
PS: in Windows you can use the clipboard in system dialogs like this one. Just press Ctrl+C while the dialog has the focus to copy the entire text, including the button captions, to the clipboard. That will hopefully give you the full error message.
Even though my desktop has crashed several times in the past 3 years (either power-related or system) this last time was the first time MySQL Workbench had issues with a workspace (apparently the 2 I had open at the time?). When I investigated why I discovered that all the .info and .scratch files in those workspaces were written with only NUL characters so no easy recovery of my tabs is possible. Grrr.
I will have to recover everything from scratch (haha) by going through the sql_history and possibly log folders and copy/paste as necessary back into the GUI.
I got the following problem
In Eclipse, in the Report Design Perspective , when I try to preview I get the following error:
Chart NewChart:
+ An exception occurred during processing. Please see the following message for details:
Cannot open the connection for the driver: org.eclipse.birt.report.data.oda.jdbc.
org.eclipse.birt.report.data.oda.jdbc.JDBCException: Cannot load JDBC Driver class: com.mysql.jdbc.Driver.
I also checked in Eclipse in the folder org.eclipse.birt.report.data.oda.jdbc/drivers and it was empty. Should it be?
I checked the externalLibs directory, and there I have mysql-connector.jar and I do not know what to check for next.
Do one thing MARA, go to the Data Source option. Select JDBC Connection over there do Next. You will find an Manage Drivers button in the left-bottom of the window. Select it, a new console window named Manage JDBC Drivers will evolve. There you will find two tabs Jar Files and Driver. Now select Jar Files and add a newly created .jar file (know how to create a .jar file it's quite easy, google it). Click Ok. You are done.
Now whenever you will go the data source and select Driver Class = com.microsoft.sqlserver.jdbc.SQLServerDriver.(Or you may see its turned to com.microsoft.sqlserver.jdbc.SQLServerDriver(com.microsoft.sqlserver.jdbc.SQLServerDriver (v4.0) v4.0)) just write the connection string on the Base url. (Don't forget to open a port from the server side you are using).
Hope it works.
Your JDBC driver must be copied to that directory, see also http://www.eclipse.org/birt/phoenix/deploy/viewerSetup.php#install_jdbc
This worked for me
Download mysql-connector-java-5.1.44-bin.jar file from google
Paste the jar file to location: Eclipse/Contents/Eclipse/plugins/org.eclipse.birt.report.data.oda.jdbc_.../drivers* folder
or
paste "mysql-connector-java-5.0.8-bin.jar" jar file to
location: WEB-INF\platform\plugins\org.eclipse.birt.report.data.oda.jdbc_INSTALLED_VERSION\drivers folder
Go to manage drivers, under jar files section use add option and select the mysql-connector-java-5.1.44-bin.jar file from any location from your local machine and then Test Connection
Connection Successful
How can I export every connection in RSE from an Eclipse installation to another?
I can get it to export connection one by one but I cant't get it to export every connection at once.
Thanks!
you can't just copy your profile info from workspace/.metadata/.plugins/org.eclipse.rse.core/profiles/yourprofile/ to new setup. Can't copy passwords tho
I have a small windows app and am trying to use SQL CE for the local datastore. I have had a couple of problems deploying it. I am using ClickOnce deployment.
First question:
In the Publish properties -> Application Files I have it set to Data File(Auto), Required, Include. However, it doesn't seem to be included? When I navigate to the location that Click Once installs to its not there?
Second:
Click once creates a new directory in the User\Local\Apps directory, with the app files and SDF file in when I update the app and release a new version I don't want to start with a new database. All the data in the existing database will be lost? The just doesn't seem to make sense?
What is the procedure around this?