i have this
GRANT USAGE ON *.* TO 'mihai'@'%' IDENTIFIED BY PASSWORD '*password' WITH MAX_QUERIES_PER _HOUR 10000 MAX_UPDATES_PER _HOUR 10000 MAX_CONNECTIONS _PER_HOUR 10000;
GRANT ALL PRIVILEGES ON `dbase1`.* TO 'mihai'@'%' WITH GRANT OPTION;
GRANT SELECT, INSERT, UPDATE, DELETE, REFERENCES ON `dbase1`.`table 1` TO 'mihai'@'%';...
User Profile
Collapse
-
one table updates,the other doesnt (MYSQL)
hello,
i have an app (WICH IS NOT MINE so i dont have source code) installed on 5 computers and a mysql server.
this app works with two tables from a mysql database (lets say table_A and table_B)
i need to change the server,so i made a backup of mysql database and put it on the new server,i created a mysql user to handle connections and i also changed the ODBC data source on the work machine with the new IP adress... -
toolbar and image list (vb express edition 2008)
that's what i try in vb express edition 2008 and it just doesnt work :
"4. Select the toolbar control. Right click and select properties and select general tab.
5. select imagelist as Imagelist1."
there is no option imagelist1 in the Imagelist property,just <NONE> of the toolbar control
(i have in my project an imagelist1 with 4 .ico)
PS: i also searched forums and... -
i choose to put a select command with group by id desc limit 50 and i will wait to see how it works
thank youLeave a comment:
-
limit number of mysql rows that can be written into a db
hello, i have a vb application that writes into mysql (some kind of autocomplete).
problem is that it writes too many rows and the app at a moment starts to run slowly.so an option that i thaught about is that to limit number of rows that can be written in mysql, i just dont know if that is possible?
thank you! -
i made the changes:
replace ;; with ;"";
also i had some filed that started with " 999999999", so i deleted the white spaces.
i am sending to import small pieces of the large csv files,until now, 2 of thoose small pieces WORKED and were imported.i am waiting for another response and hope it is ok. and if is not, i will post here when i find the row with problem.
thank you all.Leave a comment:
-
ok,now im getting error:
"Run-time error 5 ":
invalid procedure call or argument....Last edited by Killer42; Jan 21 '08, 10:59 PM.Leave a comment:
-
This is what I'm also thinking. I took the structure of old csv file that worked and put in it just one row from the bad-csv and it worked.
I modified in the csv: there was a column with wrong data: instead of numbers up to 900 there were 1000 and bigger (but that field is varchar(64),so I correct those in Access and then export to csv, but it put data this way
"mike";;"washin gton"
...Last edited by Killer42; Jan 21 '08, 11:01 PM.Leave a comment:
-
insert comand can modify structure of table?
hello,
i have an app that imports csv files into mysql tables (not my app,so i dont have source code).a week ago that program worked.now,the soft doesnt works any more :The field is too small to accept the amount of data you attempted to load. Try inserting or pasting less data error 3163.
i looked in my csv and the table and both are ok for the field sizes,
can it be another reason for this?
a... -
done :
[CODE=vb]
Dim oApp As Access.Applicat ion
oApp = CreateObject("A ccess.Applicati on")
oApp.OpenCurren tDatabase("E:\d atabase.mdb")
oApp.Visible = False
oApp.DoCmd.Open Table("E", AcView.acViewNo rmal, AcOpenDataMode. acEdit)
oApp.DoCmd.GoTo Control("PostOf fice")
oApp.DoCmd.RunC ommand(AcComman d.acCmdSortAsce nding)...Last edited by Killer42; Nov 12 '07, 12:50 PM.Leave a comment:
-
indeed, you are right, thank you very much for youre time.
my best regards.Leave a comment:
-
hi,thank you for posting!
i try in my project you're idea but doesnt works like i need : i have a database in access wich i am taking to excel via visual basic. the database contains two columns with telephone numbers : standalone and mobile. both start with "0".so, when i put the database in excel it does not trasfer the leading "0" , just the rest of the number.
i sauth that if i format the cell to "text"...Leave a comment:
-
format an excel cell
hello,
i made alot of changes to an excel sheet from visual basic like bordering,setti ng landscape,margi ns... but there is a thing a didnt managed to change : the cell format.
i have two columns and i need that all the cells from those columns to be type "text"
do you have any ideas?
thank you -
i am making the sort in datagrid,then i insert the rows to access
for i to datagridview1.r owcount
insert into..... values datagridview1.r ows(i).cells(0)
next
doesnt work.also i am making a test:
msgbox(datagrid view.rows(13).c ells(0) -> and this message shows the correct (with sort) row.Leave a comment:
-
export a sorted datagrid
hi,
i want to export to access a sorted datagrid. i managed to sort the datagrid but when i make the export, the mdb file it's without the sort. -
-
well beacause the database must be in order of the postoffices in order to be corectly processed by somebody else.
what if i show the database in a datagrid,sort there and after that save all the data grid into a new mdb file?...Leave a comment:
-
ok,but i want to sort the column POSTOFFICE of the file c:\mihai.mdb for permanent, i dont want to sort the data set...Leave a comment:
-
hi,thank you for you're replyes,but it doesnt works,no error but when i enter the mdb file they arent sorted ...
i also try "update D set postoffice=RIGH T(postoffice,9) where postoffice not like ',mol%' order by postoffice asc;" but it gives me this error (missing semicolon ; at the end of sql statement) wich i really dont get it..Leave a comment:
-
sort ASC an .mdb file from visual basic
Hello,
I made a change to an Access file this way.
[CODE=vb]Dim myData As New DataSet()
'Dim mySelectQuery As String = _
'"SELECT * FROM D WHERE postoffice like ',MIHAI%'"
Dim myConnection As New OleDbConnection ( _
"Provider=Micro soft.Jet.OLEDB. 4.0;" & _
"Data Source=c:\mihai .mdb")
Dim strSelect As String = "update D set postoffice=RIGH T(postoffice,9)...Last edited by Killer42; Nov 1 '07, 02:01 AM.
No activity results to display
Show More
Leave a comment: