MySql Structure Check and Suggestion - mysql

Please forgive me if this is not the correct place for this question.
A while back while working on a Mysql database I come across something that did a check on the database and the database structure and provided a sort of report that gave suggestions on what types/lengths/values to be used based on the data in the database.
I have been searching for this and just cant seem to find it again, has any come across anything like this or know where I can find this again.
Currently using phpmyadmin and also had a look on Navicat

Related

MySQL strange behaviour: "b'schemaname'" schema is created

this is my frist time posting something like this but im pulling my hair our, for days on end i have been trying to debug and find what is wrong with mysql, i run a gameserver and use mysql to store all the players information, like items, clothes etc, i recently came into this issue, i can no longer run sql scripts, when i try an error is thrown and a new schema is created with the name of the current schema im trying to run the script in, but it creates it like this b'schemaname' (schemaname being what the name of my schema is that im trying to run the script on), now i have reinstalled mysql and to no luck the issue still persists, i have included a video to show exactly what i mean and what is happening. ----> https://youtu.be/l6o4r5jtpcU <------ I appreciate every and anyone that helps, its not too big of an issue as i can still run the scripts a different way but still, i have no idea what has caused this or a fix for it, thank you

"unconcatenating" a field and pivoting mysql or talend

I am new to mysql and databases in general. I've come across a problem that I can't seem to find a solution too. I'm not sure even how to word the scenario.
Basically I have a concatenated field that I need to take "explode" and make each value its of that field its own row. I'm pulling this data from a daily feed, so this needs to be automated as either a trigger, stored procedure, or scheduled job in Talend. Here is a simplified version of the situation. Please see the "current file format" and the "desired outcome" pics. Sorry- this is my first post here! Any help would be appreciated!
I am using a mysql database. Currently the file is coming in via csv export, but I will be connecting via Talend Open Studio to sync the data. See the links below for and example. Here is a sample.
A precise answer is difficult without seeing your code, and the sample link returns 404 for me. You should be able to do this within Talend. Try using Talend’s tExtractDelimitedFields or tExtractRegexFields commands to achieve the result you want.

Searching Sharepoint/Access - Update table

I have been working on a sharepoint search tool. I know very little about sharepoint so if anyone can point me in the right direction it would be greatly appreciated.
I have a number of tables on a sharepoint site. One of the tables contains the "People" in the database. I have the ability to view this table as a linked table using access, but my coworkers do not have the permissions to do so. My way around it was to use a make table query insert a table into a shared folder and give them read only front end in access to search for the client and when they find them open up a hyperlink to the person on sharepoint. The search feature works great, but I have to manually update the local table (using make table) (which I am not able to do if someone is using the search).
As I see it there are two ways I might be able to solve this, but I am open to any ideas I am by no means an expert:
Is there a better way to search in sharepoint? - I am hoping to have something where they are able to enter in a first name last name dob etc and find the results that match the fields and allow a partial match (so if some fields aren't entered they are ignored). I have not found anything that was able to help me do this, but I do not know what it would be called so if you know what I should look into I would greatly appreciate it!
Is there a way to update the table in Access while someone is using it? Is there another way to accomplish this in access?
What direction do you think I should take? I am usually able to find the information I need online, but I have not had too much success with this.
Thank you!
http://root site URL/_catalogs/users/simple.aspx
This syntax will get you to your hidden user content type list on a SP 2010 site - and you can change the view on this to give you different fields. I haven't yet found a way for this to link to anything that gives me site/list/library access rights, but have found it EXTREMELY useful in place of anything approaching a third party central user administration tool. - You might be able to do something with this for what you're trying to do.

How to use the generated script from SQL 2005 to MYSQL?

We are converting our database to MYSQL from MSSQL 2005.
Someone told me this is possible by generating a script in MSSQL using Database Publishing Wizard. I already created a script. Then by dragging it to the Query Writer in MYSQL. I am currently using SQLyog for creation of database.
How can I use that script to create a MYSQL file?
I also tried to use demo versions of converting tools but to no avail.
Please help me. =)
There is no simple or quick way to do a task like this. THe two database have differnt syntax and differnt datatypes, etc. I certainly would not trust a converting tool as you may want to make changes to fix bad design choices in SQL server to better choices in MYSQL.
Take your script and then run each section and find where it fails and then look up the correct syntax for mySQL and fix it.
Here is alink to a book you need to have for this conversion project as it wil show the syntax differnences:
http://www.amazon.com/SQL-Nutshell-OReilly-Kevin-Kline/dp/0596518846/ref=sr_1_2?s=books&ie=UTF8&qid=1330382519&sr=1-2

How do I make a connection to an MS Access database using Codegear C++ builder (2007)

This seems to be the hardest thing to get help with - there are no books, no useful google results, and borland's own help facilities are far to complicated for me to isolate the answers I need.
I want to make a connection to an already existing microsoft access database using builder.
I want to be able add/delete/read the records. that's all.
Or failing that. how do I create a simple database/table using builder. It would be ideal if I had an application that could create a table if it didn't already exist, then use that table from that point onwards.
I want to avoid creating DSNs. I want direct access to the database from builder.
If you could point me in the direction of a good online tutorial for this that would be a start. If you could actually provide the help yourself (ie tell me how to do it, rather than show me an article) that would be great and I'd be very greatful.
in portuguese:
http://www.caloni.com.br/blog/archives/banco-de-dados-no-c-builder
see if fits your question
Have you looked at the VCL's ADO components yet? TADOConnection, TADOCommand, etc.